|
2 | 2 | "compilerOptions": {
|
3 | 3 | /* Basic Options */
|
4 | 4 | // "incremental": true, /* Enable incremental compilation */
|
5 |
| - "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, |
| 5 | + "target": "ES2017" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, |
6 | 6 | "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
|
7 |
| - // "lib": [], /* Specify library files to be included in the compilation. */ |
| 7 | + "lib": [ |
| 8 | + "ES2017" |
| 9 | + ] /* Specify library files to be included in the compilation. */, |
8 | 10 | "allowJs": true /* Allow javascript files to be compiled. */,
|
9 | 11 | // "checkJs": true, /* Report errors in .js files. */
|
10 |
| - "jsx": "preserve" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, |
| 12 | + "jsx": "react-native" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, |
11 | 13 | "declaration": true /* Generates corresponding '.d.ts' file. */,
|
12 | 14 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
13 | 15 | // "sourceMap": true, /* Generates corresponding '.map' file. */
|
14 | 16 | // "outFile": "./", /* Concatenate and emit output to single file. */
|
15 | 17 | "outDir": "./dist" /* Redirect output structure to the directory. */,
|
16 |
| - "rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */, |
| 18 | + "rootDir": "./" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */, |
17 | 19 | // "composite": true, /* Enable project compilation */
|
18 | 20 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
19 | 21 | // "removeComments": true, /* Do not emit comments to output. */,
|
|
0 commit comments