Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit 456ab94

Browse files
committed
chore(ci): fix tests failing in demo
1 parent f8da96c commit 456ab94

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

demo/src/tsconfig.spec.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/spec",
55
"baseUrl": "",
6-
"types": [
7-
"jasmine",
8-
"node"
6+
"typeRoots": [
7+
"../node_modules/@types"
98
],
109
"skipDefaultLibCheck": true,
1110
"skipLibCheck": true

demo/tsconfig.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"baseUrl": "src",
66
"sourceMap": true,
77
"declaration": false,
8-
"moduleResolution": "node",
98
"experimentalDecorators": true,
109
"target": "ES2022",
10+
"module": "esnext",
11+
"moduleResolution": "node",
1112
"typeRoots": [
1213
"node_modules/@types"
1314
],
@@ -16,14 +17,15 @@
1617
"es2016",
1718
"dom"
1819
],
19-
"types": ["node"],
2020
"paths": {
2121
"@angular/*": [
2222
"../node_modules/@angular/*"
2323
]
2424
},
2525
"resolveJsonModule": true,
2626
"esModuleInterop": true,
27-
"useDefineForClassFields": false
27+
"useDefineForClassFields": false,
28+
"skipLibCheck": true,
29+
"skipDefaultLibCheck": true
2830
}
2931
}

0 commit comments

Comments
 (0)