Skip to content

Commit 20c4175

Browse files
committed
use config recommended in typescript 5.9
1 parent 53deae0 commit 20c4175

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
2424
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
2525
// "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. */
2727

2828
/* Modules */
2929
"module": "Preserve", /* Specify what module code is generated. */
@@ -41,7 +41,7 @@
4141
// "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
4242
// "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
4343
// "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
44-
// "noUncheckedSideEffectImports": true, /* Check side effect imports. */
44+
"noUncheckedSideEffectImports": true, /* Check side effect imports. */
4545
// "resolveJsonModule": true, /* Enable importing .json files. */
4646
// "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
4747
// "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
@@ -75,7 +75,7 @@
7575
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
7676

7777
/* Interop Constraints */
78-
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
78+
"isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
7979
"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. */
8080
// "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */
8181
"erasableSyntaxOnly": true, /* Do not allow runtime constructs that are not part of ECMAScript. */

0 commit comments

Comments
 (0)