Closed
Description
Found in nightlies (Version 1.9.0-dev.20160618-1.0
)
- Create an empty
test.ts
file. - Create the following
tsconfig.json
in the same directory:
{
"compilerOptions": {
"strictNullChecks": true
},
"files": ["./test.ts"]
}
- Run
tsc
from the same directory.
../AppData/Roaming/npm/node_modules/typescript/lib/lib.d.ts(18107,5): error TS2411: Property 'alpha' of type 'boolean | undefined' is not assignable to string index type 'boolean | string'.
../AppData/Roaming/npm/node_modules/typescript/lib/lib.d.ts(18108,5): error TS2411: Property 'willReadFrequently' of type 'boolean | undefined' is not assignable to string index type 'boolean | string'.
../AppData/Roaming/npm/node_modules/typescript/lib/lib.d.ts(18109,5): error TS2411: Property 'storage' of type 'boolean | undefined' is not assignable to string index type 'boolean | string'.
Basically there are issues with index signatures and optional properties.