Skip to content

Commit

Permalink
Add a warning info to import assertions AST spec
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Apr 3, 2023
1 parent d134835 commit 5870aa6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stage3/import-assertions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# [Import Assertions][proposal-import-assertions]

> **warning**
> This proposal has been superseded by [Import Attributes](../experimental/import-attributes.md).
## Imports

### ImportDeclaration
Expand Down Expand Up @@ -56,5 +59,4 @@ extend interface ImportExpression {

The `attributes` property contains an `Expression` when import attributes presents, e.g., `{ assert: { type: "json" } }` in `import(jsonModuleName, { assert: { type: "json" } })`.

[proposal-import-assertions]: https://github.com/tc39/proposal-import-assertions

[proposal-import-assertions]: https://github.com/tc39/proposal-import-attributes/tree/f5ad402cd3d3f82f28b1d1be2bfd567cd26336af

0 comments on commit 5870aa6

Please sign in to comment.