|
3 | 3 | /* Visit https://aka.ms/tsconfig to read more about this file */
|
4 | 4 |
|
5 | 5 | /* Projects */
|
6 |
| - "incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */, |
7 |
| - "composite": true /* Enable constraints that allow a TypeScript project to be used with project references. */, |
| 6 | + // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ |
| 7 | + // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ |
8 | 8 | // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
|
9 | 9 | // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
|
10 | 10 | // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
|
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": "Preserve" /* Specify what module code is generated. */, |
29 | 29 | // "rootDir": "./", /* Specify the root folder within your source files. */
|
30 |
| - "moduleResolution": "Node" /* Specify how TypeScript looks up a file from a given module specifier. */, |
| 30 | + "moduleResolution": "Bundler" /* 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. */
|
32 | 32 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
33 | 33 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
34 | 34 | // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
|
35 | 35 | // "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
36 | 36 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
37 | 37 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
38 |
| - // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ |
| 38 | + "allowImportingTsExtensions": true /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */, |
39 | 39 | // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
|
40 | 40 | // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
|
41 | 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
|
|
51 | 51 | /* Emit */
|
52 | 52 | "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
|
53 | 53 | "declarationMap": true /* Create sourcemaps for d.ts files. */,
|
54 |
| - // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ |
| 54 | + "emitDeclarationOnly": true /* Only output d.ts files and not JavaScript files. */, |
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. */
|
|
69 | 69 | // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
|
70 | 70 | // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
|
71 | 71 | // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
72 |
| - // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ |
| 72 | + "declarationDir": "./out" /* Specify the output directory for generated declaration files. */, |
73 | 73 |
|
74 | 74 | /* Interop Constraints */
|
75 | 75 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
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. */ |
| 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 | 79 | "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
|
|
0 commit comments