Skip to content

Commit a4d0ef6

Browse files
committed
Add changenote
1 parent a9a21aa commit a4d0ef6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* [Import attributes](https://github.com/tc39/proposal-import-attributes) are now supported in JavaScript code.
5+
Note that import attributes are an evolution of an earlier proposal called "import assertions", which were implemented in TypeScript 4.5.
6+
The QL library includes new predicates named `getImportAttributes()` that should be used in favor of the now deprecated `getImportAssertion()`;
7+
in addition, the `getImportAttributes()` method of the `DynamicImportExpr` has been renamed to `getImportOptions()`.

0 commit comments

Comments
 (0)