Closed markvandenbrink closed 7 years ago
It's possible to pass any arguments you wish to tsc
with grunt-ts. Please see the documentation for the additionalFlags
feature here:
https://github.com/TypeStrong/grunt-ts#additionalflags
Native support for TypeScript flags are generally added to grunt-ts after the official release due to churn/flags getting renamed or pulled, etc.
If you'd like to assist with updating grunt-ts to support the new parameters, please see this document for instructions:
Thanks for contributing!
This is implemented in 6.0.0-beta.6 on npm. Please give it a whirl and let me know if you hit any issues.
I believe this is resolved in the latest beta on npm. Please re-open if not. Thank you!
The
strictNullChecks
option is currently not available in grunt-ts, though it is possible to use the nightly TS1.9 build with grunt-ts which supports this new feature. Would be nice if it could be added so people can already start using this upcoming feature (which is very nice!).See: https://github.com/Microsoft/TypeScript/pull/7140