File tree Expand file tree Collapse file tree 8 files changed +23
-1
lines changed Expand file tree Collapse file tree 8 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
plugins : [
3
+ [
4
+ '@babel/plugin-transform-typescript' ,
5
+ {
6
+ allowDeclareFields : true ,
7
+ } ,
8
+ ] ,
3
9
[
4
10
'react-intl' ,
5
11
{
Original file line number Diff line number Diff line change 25
25
"@babel/core" : " 7.23.9" ,
26
26
"@babel/plugin-proposal-class-properties" : " 7.18.6" ,
27
27
"@babel/plugin-syntax-dynamic-import" : " 7.8.3" ,
28
+ "@babel/plugin-transform-typescript" : " *" ,
28
29
"@babel/polyfill" : " 7.12.1" ,
29
30
"@babel/preset-env" : " 7.23.9" ,
30
31
"@babel/preset-react" : " 7.23.3" ,
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ module.exports = babelJest.createTransformer({
12
12
ast : true ,
13
13
} ,
14
14
] ,
15
+ [
16
+ '@babel/plugin-transform-typescript' ,
17
+ {
18
+ allowDeclareFields : true ,
19
+ } ,
20
+ ] ,
15
21
'babel-plugin-import-remove-resource-query' ,
16
22
'@babel/plugin-syntax-dynamic-import' ,
17
23
'babel-plugin-transform-vite-meta-env' ,
Original file line number Diff line number Diff line change 39
39
"devDependencies" : {
40
40
"@babel/core" : " 7.23.9" ,
41
41
"@babel/plugin-syntax-dynamic-import" : " 7.8.3" ,
42
+ "@babel/plugin-transform-typescript" : " *" ,
42
43
"@babel/preset-env" : " 7.23.9" ,
43
44
"@babel/preset-typescript" : " 7.23.3" ,
44
45
"@testing-library/jest-dom" : " *" ,
Original file line number Diff line number Diff line change 40
40
},
41
41
"resolutions" : {
42
42
"@babel/plugin-proposal-private-property-in-object" : " 7.21.11" ,
43
+ "@babel/plugin-transform-typescript" : " 7.23.6" ,
43
44
"@codemirror/lang-markdown" : " 6.2.4" ,
44
45
"@codemirror/language" : " 6.10.1" ,
45
46
"@codemirror/language-data" : " 6.4.1" ,
Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ module.exports = {
8
8
ast : true ,
9
9
} ,
10
10
] ,
11
+ [
12
+ '@babel/plugin-transform-typescript' ,
13
+ {
14
+ allowDeclareFields : true ,
15
+ } ,
16
+ ] ,
11
17
'@babel/proposal-class-properties' ,
12
18
'@babel/plugin-syntax-dynamic-import' ,
13
19
'@babel/plugin-transform-runtime' ,
Original file line number Diff line number Diff line change 33
33
"@babel/plugin-proposal-class-properties" : " 7.18.6" ,
34
34
"@babel/plugin-syntax-dynamic-import" : " 7.8.3" ,
35
35
"@babel/plugin-transform-runtime" : " 7.23.9" ,
36
+ "@babel/plugin-transform-typescript" : " *" ,
36
37
"@babel/polyfill" : " 7.12.1" ,
37
38
"@babel/preset-env" : " 7.23.9" ,
38
39
"@babel/preset-typescript" : " 7.23.3" ,
Original file line number Diff line number Diff line change 1116
1116
dependencies:
1117
1117
"@babel/helper-plugin-utils" "^7.22.5"
1118
1118
1119
- "@babel/plugin-transform-typescript@^7.23.3":
1119
+ "@babel/plugin-transform-typescript@
*", "@babel/[email protected] ", "@babel/plugin-transform-typescript@ ^7.23.3":
1120
1120
version "7.23.6"
1121
1121
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.23.6.tgz#aa36a94e5da8d94339ae3a4e22d40ed287feb34c"
1122
1122
integrity sha512-6cBG5mBvUu4VUD04OHKnYzbuHNP8huDsD3EDqqpIpsswTDoqHCjLoHb6+QgsV1WsT2nipRqCPgxD3LXnEO7XfA==
You can’t perform that action at this time.
0 commit comments