Fix TS error regarding `window`

pull/1/head
Daniel Gasienica 6 years ago
parent bcd3e26377
commit 9513e90a84

@ -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. */

Loading…
Cancel
Save