Fix TS error regarding `window`

This commit is contained in:
Daniel Gasienica 2018-04-11 11:20:11 -04:00
parent bcd3e26377
commit 9513e90a84
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
"target": "es2016", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"lib": [ /* Specify library files to be included in the compilation. */
"dom", // Required to access `window`
"es2017", // Required by `@sindresorhus/is`
],
// "allowJs": true, /* Allow javascript files to be compiled. */