diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-09-17 18:28:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 18:28:51 +0100 |
commit | d4a06251c54fc004e189469e493b1261be200300 (patch) | |
tree | fd1778c0dc7dae678fbe13389e1f33fddbcd2d71 /cli/lsp | |
parent | b4faf609484726d827b43140b4ce2bc8e58163df (diff) |
feat(lsp): auto-import types with 'import type' (#25662)
Diffstat (limited to 'cli/lsp')
-rw-r--r-- | cli/lsp/tsc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 0decef396..6d3e1317b 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -6154,7 +6154,7 @@ mod tests { let change = changes.text_changes.first().unwrap(); assert_eq!( change.new_text, - "import { someLongVariable } from './b.ts'\n" + "import type { someLongVariable } from './b.ts'\n" ); } |