|
11 | 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ |
12 | 12 |
|
13 | 13 | /* Language and Environment */ |
14 | | - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
| 14 | + "target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, |
15 | 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ |
16 | | - // "jsx": "preserve", /* Specify what JSX code is generated. */ |
| 16 | + "jsx": "react-jsx" /* Specify what JSX code is generated. */, |
17 | 17 | // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ |
18 | 18 | // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ |
19 | 19 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ |
|
25 | 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ |
26 | 26 |
|
27 | 27 | /* Modules */ |
28 | | - "module": "commonjs", /* Specify what module code is generated. */ |
| 28 | + "module": "commonjs" /* Specify what module code is generated. */, |
29 | 29 | // "rootDir": "./", /* Specify the root folder within your source files. */ |
30 | 30 | // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ |
31 | 31 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ |
|
55 | 55 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
56 | 56 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ |
57 | 57 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ |
58 | | - "outDir": "./dist", /* Specify an output folder for all emitted files. */ |
| 58 | + "outDir": "./dist" /* Specify an output folder for all emitted files. */, |
59 | 59 | // "removeComments": true, /* Disable emitting comments. */ |
60 | 60 | // "noEmit": true, /* Disable emitting files from a compilation. */ |
61 | 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ |
|
76 | 76 | // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ |
77 | 77 | // "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */ |
78 | 78 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ |
79 | | - "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
| 79 | + "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, |
80 | 80 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ |
81 | | - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
| 81 | + "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, |
82 | 82 |
|
83 | 83 | /* Type Checking */ |
84 | | - "strict": true, /* Enable all strict type-checking options. */ |
| 84 | + "strict": true /* Enable all strict type-checking options. */, |
85 | 85 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ |
86 | 86 | // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ |
87 | 87 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ |
|
103 | 103 |
|
104 | 104 | /* Completeness */ |
105 | 105 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ |
106 | | - "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
| 106 | + "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
107 | 107 | } |
108 | 108 | } |
0 commit comments