TypeScript
TypeScript copied to clipboard
Enhance isJS check in getNewImportFixes function
Fixes https://github.com/vuejs/language-tools/issues/4582
In getNewImportFixes, prioritize checking scriptKind over file extension for isJs. This ensures consistent JsdocTypeImport behavior for file types added via LS plugins.
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.