|
9 | 9 | ], /* Specify library files to be included in the compilation. */ |
10 | 10 | // "allowJs": true, /* Allow javascript files to be compiled. */ |
11 | 11 | // "checkJs": true, /* Report errors in .js files. */ |
12 | | - "jsx": "react-jsx" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, |
13 | | - "jsxImportSource": "react", |
| 12 | + "jsx": "react-jsx" /* Specify JSX code generation: 'preserve', 'react-native', 'react', or 'react-jsx'. */, |
14 | 13 | "declaration": true /* Generates corresponding '.d.ts' file. */, |
15 | 14 | "declarationDir": "./dist", |
16 | 15 | "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ |
|
39 | 38 | "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, |
40 | 39 | "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, |
41 | 40 | /* Module Resolution Options */ |
42 | | - "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, |
| 41 | + "moduleResolution": "bundler" /* Specify module resolution strategy: 'bundler', 'node16', 'nodenext', 'node' (deprecated), or 'classic'. */, |
43 | 42 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ |
44 | 43 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ |
45 | 44 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ |
|
0 commit comments