We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9a21aa commit a4d0ef6Copy full SHA for a4d0ef6
javascript/ql/lib/change-notes/2023-10-10-import-attributes.md
@@ -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