|
23 | 23 | // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ |
24 | 24 | // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ |
25 | 25 | "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ |
26 | | - // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ |
| 26 | + "moduleDetection": "force", /* Control what method is used to detect module-format JS files. */ |
27 | 27 |
|
28 | 28 | /* Modules */ |
29 | | - "module": "ESNext", /* Specify what module code is generated. */ |
| 29 | + "module": "NodeNext", /* Specify what module code is generated. */ |
30 | 30 | // "rootDir": ".", /* Specify the root folder within your source files. */ |
31 | | - "moduleResolution": "bundler", /* Specify how TypeScript looks up a file from a given module specifier. */ |
| 31 | + "moduleResolution": "nodenext", /* Specify how TypeScript looks up a file from a given module specifier. */ |
32 | 32 | "baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */ |
33 | 33 | "paths": { /* Specify a set of entries that re-map imports to additional lookup locations. */ |
34 | 34 | "@/*": ["src/*"] |
|
42 | 42 | ], |
43 | 43 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ |
44 | 44 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ |
| 45 | + // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ |
| 46 | + "rewriteRelativeImportExtensions": true, /* Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files. */ |
| 47 | + // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ |
| 48 | + // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ |
| 49 | + // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ |
| 50 | + // "noUncheckedSideEffectImports": true, /* Check side effect imports. */ |
45 | 51 | "resolveJsonModule": true, /* Enable importing .json files. */ |
| 52 | + // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ |
46 | 53 | // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */ |
47 | 54 |
|
48 | 55 | /* JavaScript Support */ |
|
77 | 84 |
|
78 | 85 | /* Interop Constraints */ |
79 | 86 | "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ |
| 87 | + // "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. */ |
| 88 | + // "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */ |
| 89 | + // "erasableSyntaxOnly": true, /* Do not allow runtime constructs that are not part of ECMAScript. */ |
80 | 90 | "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ |
81 | 91 | // "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
82 | 92 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ |
|
89 | 99 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ |
90 | 100 | // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ |
91 | 101 | // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ |
| 102 | + // "strictBuiltinIteratorReturn": true, /* Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'. */ |
92 | 103 | // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ |
93 | 104 | // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ |
94 | 105 | // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ |
|
105 | 116 |
|
106 | 117 | /* Completeness */ |
107 | 118 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ |
108 | | - "skipLibCheck": true |
| 119 | + "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
109 | 120 | } |
110 | 121 | } |
0 commit comments