diff --git a/tsconfig.json b/tsconfig.json index 37eb7b9c0..d056caa08 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,9 @@ /* Basic Options */ "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. */ + "lib": [ /* Specify library files to be included in the compilation. */ + "es2017", // Required by `@sindresorhus/is` + ], // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */ "jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */