Skip to content

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Sep 5, 2025

  • Upgrades the bundled TypeScript compiler to version 5.9.
  • Adds support for the new import defer syntax mentioned in the TypeScript 5.9 changelog
  • Adds import defer parsing support in our JavaScript parser, as this is also a stage 3 JS feature.
  • The presence of the defer keyword can be checked in QL with ImportDeclaration.isDeferredImport(). This feature doesn't really affect our analysis so we don't currently use it for anything.

@asgerf asgerf changed the title JS: Bump TypeScript compiler version JS: Bump TypeScript compiler to 5.9 and support 'import defer' syntax Sep 5, 2025
@asgerf asgerf changed the title JS: Bump TypeScript compiler to 5.9 and support 'import defer' syntax JS: Support TypeScript 5.9 and support 'import defer' syntax Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant