Skip to content

Commit b65e759

Browse files
committed
Set isolatedModules in tsconfig.json
This silences the warnings of the form: ``` ts-jest[config] (WARN) The "ts-jest" config option "isolatedModules" is deprecated and will be removed in v30.0.0. Please use "isolatedModules: true" in /[...]/members-app/tsconfig.json instead, see https://www.typescriptlang.org/tsconfig/#isolatedModules ```
1 parent e531d9e commit b65e759

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module.exports = {
77
'ts-jest',
88
{
99
diagnostics: false,
10-
isolatedModules: true,
1110
},
1211
],
1312
},

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"forceConsistentCasingInFileNames": true,
1919
"composite": true,
2020
"allowUnusedLabels": false,
21-
"allowUnreachableCode": false
21+
"allowUnreachableCode": false,
22+
"isolatedModules": true
2223
},
2324
"include": [
2425
"src/**/*.ts",

0 commit comments

Comments
 (0)