Skip to content

Commit ee18c3b

Browse files
fix TS
1 parent 10b7e02 commit ee18c3b

6 files changed

Lines changed: 9 additions & 3 deletions

File tree

apps/demos/configs/Angular/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ window.config = {
9797
module: 'system',
9898
emitDecoratorMetadata: true,
9999
experimentalDecorators: true,
100+
"ignoreDeprecations": "6.0",
100101
},
101102
meta: {
102103
'typescript': {
@@ -355,4 +356,4 @@ System.config(window.config);
355356
// eslint-disable-next-line no-console
356357
System.import('@angular/compiler').catch(console.error.bind(console));
357358
// eslint-disable-next-line
358-
const useTgzInCSB = ['openai'];
359+
const useTgzInCSB = ['openai'];

apps/demos/configs/Angular/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"target": "ES2022",
44
"experimentalDecorators": true,
55
"esModuleInterop": true,
6-
"moduleResolution": "node16",
6+
"ignoreDeprecations": "6.0",
7+
"moduleResolution": "node",
78
"skipLibCheck": true,
89
"baseUrl": "./",
910
"paths": {

apps/demos/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"resolveJsonModule": true,
77
"skipLibCheck": true,
88
"jsx": "react",
9-
"moduleResolution": "node16",
9+
"ignoreDeprecations": "6.0",
10+
"moduleResolution": "node",
1011
"module": "CommonJS"
1112
},
1213
"include": [

apps/demos/tsconfig.ngc-check.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"verbatimModuleSyntax": true,
77
"module": "ESNext",
88
"moduleResolution": "Node",
9+
"ignoreDeprecations": "6.0",
910
"lib": ["es2022", "DOM", "DOM.Iterable"]
1011
},
1112
"angularCompilerOptions": {

apps/demos/tsconfig.react-check.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"verbatimModuleSyntax": true,
77
"module": "ESNext",
88
"moduleResolution": "Node",
9+
"ignoreDeprecations": "6.0",
910
"allowImportingTsExtensions": true,
1011
"jsx": "react-jsx",
1112
"allowSyntheticDefaultImports": true,

apps/demos/tsconfig.vue-check.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "@vue/tsconfig/tsconfig.dom.json",
33
"compilerOptions": {
44
"lib": ["es2023", "DOM", "DOM.Iterable"],
5+
"ignoreDeprecations": "6.0",
56
"strict": true
67
},
78
"include": [

0 commit comments

Comments
 (0)