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

No tsconfig support for strictNullChecks #9141

Closed
ddivecs opened this issue Jun 13, 2016 · 8 comments
Closed

No tsconfig support for strictNullChecks #9141

ddivecs opened this issue Jun 13, 2016 · 8 comments
Labels
Docs The issue relates to how you learn TypeScript Fixed A PR has been merged for this issue

Comments

@ddivecs
Copy link

ddivecs commented Jun 13, 2016

TypeScript Version:

1.8.10

Code

{
    "compilerOptions": {
        "strictNullChecks": true
    }
}

Expected behavior:
compile with strictNullChecks.

Actual behavior:
This is a valid compiler option in https://www.typescriptlang.org/docs/handbook/compiler-options.html but does not exist in the schema http://json.schemastore.org/tsconfig and thus results in error TS5023: Unknown compiler option 'strictNullChecks'.

@Arnavion
Copy link
Contributor

The handbook is jumping the gun, I think. That option is not in the current released version (1.8.10).

@mhegazy
Copy link
Contributor

mhegazy commented Jun 13, 2016

We should have the documentation covered by the time TS 2.0 ships out. see microsoft/TypeScript-Handbook#294

@mhegazy
Copy link
Contributor

mhegazy commented Jun 13, 2016

I will remove this option for now.

@mhegazy
Copy link
Contributor

mhegazy commented Jun 13, 2016

@mhegazy mhegazy closed this as completed Jun 13, 2016
@mhegazy mhegazy added Docs The issue relates to how you learn TypeScript Fixed A PR has been merged for this issue labels Jun 13, 2016
@webuniverseio
Copy link

@mhegazy, https://www.typescriptlang.org/docs/handbook/compiler-options.html still have strictNullChecks option.

@spencerturkel
Copy link

This is still an issue.

@mhegazy
Copy link
Contributor

mhegazy commented Aug 26, 2016

We update the site in bulk. so we are waiting on the TS final release to move all docs to the 2.0 version (latest from https://github.com/Microsoft/TypeScript-Handbook). sorry for the delay.

@mhegazy
Copy link
Contributor

mhegazy commented Sep 28, 2016

should be updated now.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Docs The issue relates to how you learn TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

5 participants