refactor(lsp): drop redundant side-effect type import

The value import of LspProviderId already pulls in the cordis module
augmentation for ctx.lsp, so the separate `import type {}` is dead.
This commit is contained in:
Dudu-0223
2026-07-16 17:57:18 +08:00
parent a63c55eb00
commit e92ec69f32
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -457,7 +457,7 @@ export interface LspLocalServerConfig {
}
```
Source: [`packages/lsp/lsp-local/src/index.ts:85`](../packages/lsp/lsp-local/src/index.ts)
Source: [`packages/lsp/lsp-local/src/index.ts:83`](../packages/lsp/lsp-local/src/index.ts)
## `@deepseek-ai/dsh-mcp-client`
-2
View File
@@ -21,8 +21,6 @@ import type {
LspProviderQuery,
LspQueryResult,
} from '@deepseek-ai/dsh-lsp'
// Side-effect type import: declaration-merges `ctx.lsp` onto Context.
import type {} from '@deepseek-ai/dsh-lsp'
import { canonicalizeWorkspace, readHostSource } from './host.ts'
import { abortError, LspInstance } from './instance.ts'
import type { InstanceSpec } from './instance.ts'