diff --git a/tsconfig.json b/tsconfig.json index d056caa08..ef472b287 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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. */