Skip to content

Commit 21a2e90

Browse files
authored
doc: fix broken link to TC39 import attributes proposal
The import assertion proposal has been renamed and the old URL does not redirect to the new one. So let's update our URL to point to the import attributes proposal, which is what import assertions have been renamed to. PR-URL: #47954 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent e74b84e commit 21a2e90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ are not controllable through the timeout either.
15881588
[`Error`]: errors.md#class-error
15891589
[`URL`]: url.md#class-url
15901590
[`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval
1591-
[`optionsExpression`]: https://tc39.es/proposal-import-assertions/#sec-evaluate-import-call
1591+
[`optionsExpression`]: https://tc39.es/proposal-import-attributes/#sec-evaluate-import-call
15921592
[`script.runInContext()`]: #scriptrunincontextcontextifiedobject-options
15931593
[`script.runInThisContext()`]: #scriptruninthiscontextoptions
15941594
[`url.origin`]: url.md#urlorigin

test/fixtures/snapshot/typescript.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -135144,7 +135144,7 @@ var ts;
135144135144
* import "foo" |
135145135145
* or after a re-export declaration that has a module specifier:
135146135146
* export { foo } from "foo" |
135147-
* Source: https://tc39.es/proposal-import-assertions/
135147+
* Source: https://tc39.es/proposal-import-attributes/
135148135148
*/
135149135149
if (contextToken) {
135150135150
var file = contextToken.getSourceFile();

0 commit comments

Comments
 (0)