Skip to content

Commit f0d9caf

Browse files
committed
babel format issue fix
1 parent 4117bd5 commit f0d9caf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

babel.config.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
module.exports = {
22
presets: [
33
'module:react-native-builder-bob/babel-preset',
4-
['@babel/preset-typescript', { allowNamespaces: true, allowDeclareFields: true }],
4+
[
5+
'@babel/preset-typescript',
6+
{ allowNamespaces: true, allowDeclareFields: true },
7+
],
58
'@babel/preset-flow',
69
],
710
env: {
811
test: {
912
presets: [
1013
['@react-native/babel-preset'],
11-
['@babel/preset-typescript', { allowNamespaces: true, allowDeclareFields: true }],
14+
[
15+
'@babel/preset-typescript',
16+
{ allowNamespaces: true, allowDeclareFields: true },
17+
],
1218
'@babel/preset-flow',
1319
],
1420
},

0 commit comments

Comments
 (0)