A Visual Studio Cordova application with a unique TypeScript source structure:
/src
/app
/appsub1
appsub1.ts -> 4 : 7
/appsub2
appsub2.ts -> 5 : 6
app.ts -> 3 : 5
/mod1
/mod1sub1
mod1sub1.ts -> 7 : 4
mod1.ts -> 6 : 3
baseclass1.ts -> 1 : 1
baseclass2.ts -> 2 : 2
The numbers following the file names represent the order in which they are included in the output .js file after compilation using TypeScript versions v1.7.6 and v1.8.3.
Dependencies are structured so that base classes always have a higher hierarchy within the structure.
It is important to note that version 1.8.3 includes subdirectories in reverse alphabetical order, disrupting the dependency structure.
Additionally, version 1.8.3 defines __extends at the top, a feature not present in version 1.7.6.
Could there be a configuration element that needs adjustment when transitioning from version 1.7 to 1.8, or is the order of inclusion entirely unpredictable?