Description
openedon Mar 8, 2015
I am missing the ability to disable certain typescript compiler features. E.g i would like to disable all non ES6 style module features (i am not talking about require of course, just the actual typescript inventions before ES6 modules).
In general, I believe tsc.js would benefit from having an optional configuration json file to ensure that all team members are using the same subset of features.
Since typescript is seemingly becoming a hybrid compiler, mixing ES6/7 stuff with typescript inventions, it makes my unsure whether i should jump on it without a change in defaults.
I would much rather have it be a ES6 compiler first with non standard features such as e.g previous module syntaxes, AtScript or ES7 features etc as opt-in features in a compiler option file (flags on command line).
It could be argued of course to default-opt-in into some features that are basically agreed upon etc, as long as you can always opt-out of them
Without that feature i think it will be difficult for my team to switch to TS since there would be a danger of accidentally using non-standardized language features which would prevent us from choosing another ES6/7 compiler at some point.
PS: I did not find those in node tsc\tsc.js --help
nor in the Wiki. Next stop would be the code.