Skip to content

Commit f0c66a7

Browse files
fix TS for vue and react demos
1 parent cf73f7a commit f0c66a7

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

apps/demos/configs/React/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ window.config = {
66
emitDecoratorMetadata: true,
77
experimentalDecorators: true,
88
jsx: 'react',
9+
ignoreDeprecations: '6.0',
910
},
1011
meta: {
1112
'react': {

apps/demos/configs/ReactJs/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ window.config = {
66
emitDecoratorMetadata: true,
77
experimentalDecorators: true,
88
jsx: 'react',
9+
ignoreDeprecations: '6.0'
910
},
1011
meta: {
1112
'react': {
@@ -224,4 +225,4 @@ window.process = {
224225

225226
System.config(window.config);
226227
// eslint-disable-next-line
227-
const useTgzInCSB = ['openai'];
228+
const useTgzInCSB = ['openai'];

apps/demos/configs/Vue/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"lib": ["es2023"],
55
"experimentalDecorators": true,
66
"esModuleInterop": true,
7-
"moduleResolution": "node"
7+
"moduleResolution": "node",
8+
"ignoreDeprecations": "6.0"
89
}
910
}

0 commit comments

Comments
 (0)