Typescript: No tsconfig support for strictNullChecks

Created on 13 Jun 2016  路  8Comments  路  Source: microsoft/TypeScript

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'.

Docs Fixed

Most helpful comment

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

All 8 comments

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

We should have the documentation covered by the time TS 2.0 ships out. see https://github.com/Microsoft/TypeScript-Handbook/issues/294

I will remove this option for now.

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

This is still an issue.

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.

should be updated now.

Was this page helpful?
0 / 5 - 0 ratings