Skip to content

Commit 3241d88

Browse files
committed
feat(transformer): add ES2022 warnings
1 parent 96c45c0 commit 3241d88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/docs/guide/usage/transformer/lowering.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ Oxc supports lowering the syntaxes below. Note that RegExp related transformatio
9292

9393
Oxc transformer emits warnings for the syntaxes below if the target runtime does not support them.
9494

95+
### ES2022
96+
97+
- Top level await (`await foo()`)
98+
- Arbitrary module namespace identifiers (`import * as "f o o" from "bar"`)
99+
95100
### ES2020
96101

97102
- BigInt (`1n`)

0 commit comments

Comments
 (0)