Add strictNullChecks option · Issue #360 · TypeStrong/grunt-ts · GitHub
Skip to content

Add strictNullChecks option #360

Closed
Closed

Description

@markvandenbrink

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

Activity

  1. nycdotnet commented on Jun 20, 2016

    @nycdotnet
    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!

  2. nycdotnet commented on Jan 8, 2017

    @nycdotnet
    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.

  3. nycdotnet commented on May 29, 2017

    @nycdotnet
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions