Skip to content

Commit 0875f8a

Browse files
authored
added nullishCoalescingOperator to parsers
nullish coalescing is now at stage 3 and soon stage 4, therefore it should be added to the parser list styled-components#252
1 parent d61ab3d commit 0875f8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/parsers/babylon-parser.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ module.exports = (type, plugins) => input =>
1515
'functionSent',
1616
'dynamicImport',
1717
'optionalCatchBinding',
18-
'optionalChaining'
18+
'optionalChaining',
19+
'nullishCoalescingOperator'
1920
]
2021
)
2122
})

0 commit comments

Comments
 (0)