Skip to content

Commit

Permalink
Update packages/babel-core/src/config/files/module-types.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nicol貌 Ribaudo <nicolo.ribaudo@gmail.com>
  • Loading branch information
liuxingbaoyu and nicolo-ribaudo committed Feb 13, 2023
1 parent b76ec12 commit b34add1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-core/src/config/files/module-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function loadCtsDefault(filepath: string) {
allExtensions: true,
onlyRemoveTypeImports: true,
optimizeConstEnums: true,
...(process.env.BABEL_8_BREAKING && {
...(!process.env.BABEL_8_BREAKING && {
allowDeclareFields: true,
}),
},
Expand Down

0 comments on commit b34add1

Please sign in to comment.