Skip to content

Commit 6e910e1

Browse files
committed
chore: add @babel/plugin-proposal-class-properties
1 parent a4536f5 commit 6e910e1

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
"onlyRemoveTypeImports": true
1616
}
1717
]
18-
]
18+
],
19+
"plugins": ["@babel/plugin-proposal-class-properties"]
1920
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"devDependencies": {
4040
"@babel/cli": "^7.0.0",
4141
"@babel/core": "^7.0.0",
42+
"@babel/plugin-proposal-class-properties": "^7.0.0",
4243
"@babel/preset-env": "^7.0.0",
4344
"@babel/preset-typescript": "^7.0.0",
4445
"@typescript-eslint/parser": "^4.6.0",

yarn.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ __metadata:
374374
languageName: node
375375
linkType: hard
376376

377-
"@babel/plugin-proposal-class-properties@npm:^7.12.1":
377+
"@babel/plugin-proposal-class-properties@npm:^7.0.0, @babel/plugin-proposal-class-properties@npm:^7.12.1":
378378
version: 7.12.1
379379
resolution: "@babel/plugin-proposal-class-properties@npm:7.12.1"
380380
dependencies:
@@ -2596,6 +2596,7 @@ __metadata:
25962596
dependencies:
25972597
"@babel/cli": ^7.0.0
25982598
"@babel/core": ^7.0.0
2599+
"@babel/plugin-proposal-class-properties": ^7.0.0
25992600
"@babel/preset-env": ^7.0.0
26002601
"@babel/preset-typescript": ^7.0.0
26012602
"@typescript-eslint/parser": ^4.6.0

0 commit comments

Comments
 (0)