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'.
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.
Most helpful comment
@mhegazy, https://www.typescriptlang.org/docs/handbook/compiler-options.html still have strictNullChecks option.