Skip to content

Commit

Permalink
update website
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbok committed Jun 2, 2024
1 parent 7d06f97 commit 23d10ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/content/docs/book/others.md
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ The `using` and `await using` declarations are allowed in Statements: `for`, `fo

### Import Attributes

TypeScript 5.3's Import Attributes (labels for imports) tell the runtime how to handle modules (JSON, etc.). This improves security by ensuring clear imports and aligns with Content Security Policy (CSP) for safer resource loading. TypeScript ensures they're valid but lets the runtime handle their interpretation for specific module handling.
TypeScript 5.3's Import Attributes (labels for imports) tell the runtime how to handle modules (JSON, etc.). This improves security by ensuring clear imports and aligns with Content Security Policy (CSP) for safer resource loading. TypeScript ensures they are valid but lets the runtime handle their interpretation for specific module handling.

Example:

Expand Down

0 comments on commit 23d10ed

Please sign in to comment.