Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strictNullChecks option #360

Closed
markvandenbrink opened this issue Jun 7, 2016 · 3 comments
Closed

Add strictNullChecks option #360

markvandenbrink opened this issue Jun 7, 2016 · 3 comments

Comments

@markvandenbrink
Copy link

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: microsoft/TypeScript#7140

@nycdotnet
Copy link
Contributor

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:

https://github.com/TypeStrong/grunt-ts/blob/master/CONTRIBUTING.md#steps-to-update-grunt-ts-to-a-new-version-of-typescript

Thanks for contributing!

@nycdotnet
Copy link
Contributor

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.

@nycdotnet
Copy link
Contributor

I believe this is resolved in the latest beta on npm. Please re-open if not. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants