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:
@@ -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`
|
## `@deepseek-ai/dsh-mcp-client`
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ import type {
|
|||||||
LspProviderQuery,
|
LspProviderQuery,
|
||||||
LspQueryResult,
|
LspQueryResult,
|
||||||
} from '@deepseek-ai/dsh-lsp'
|
} 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 { canonicalizeWorkspace, readHostSource } from './host.ts'
|
||||||
import { abortError, LspInstance } from './instance.ts'
|
import { abortError, LspInstance } from './instance.ts'
|
||||||
import type { InstanceSpec } from './instance.ts'
|
import type { InstanceSpec } from './instance.ts'
|
||||||
|
|||||||
Reference in New Issue
Block a user