ts: ``` ts console.log(window); ``` tsconfig.json: ``` json { "compilerOptions": { "lib": [ "es6" ] } } ``` compile: ``` tsc -p . ``` **Expected behavior:** Works! **Actual behavior:** Error cannot find name `window`. refs https://github.com/Microsoft/TypeScript/issues/6974 :rose:
ts:
tsconfig.json:
{ "compilerOptions": { "lib": [ "es6" ] } }compile:
Expected behavior:
Works!
Actual behavior:
Error cannot find name
window.refs #6974 馃尮