typescript1.5 - typescript resolve files list -


is possible emit tsc resolved files list?

typescript compiler resolve files /// , sort files in order want emit sorted files list file, possible

in case, have folder structure below

app/     core/         math.ts         helpers.ts     text/         bartext.ts         footext.ts 

i not want compile of ts own file nor single bundle.

"core" app.core.js, "text" app.text.js.
use gulp merge files state above, without knowing file's order, have issue when class extends other bartext extends footext, bartext appear before in merged js file , cause error.

is there way achieve this?

sorry poor english, thank much

unfortunately, there no way typescript. when using internal modules (aka namespaces in ts 1.5), correct ordering of files responsibility of developer.

if use external modules, dependencies of each file on other files explicitly documented in code , build tools should able automatically resolve correct order (or moot).


Comments