Skip to content

Commit 89aacec

Browse files
committed
add type
1 parent 1a64b56 commit 89aacec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/extension.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
import {
2323
LanguageClient,
2424
LanguageClientOptions,
25+
ServerOptions,
2526
TransportKind,
2627
State as LanguageClientState,
2728
} from 'vscode-languageclient/node'
@@ -153,15 +154,14 @@ export function activate(context: ExtensionContext) {
153154
)
154155
}
155156

156-
let debugOptions = {
157-
execArgv: ['--nolazy', `--inspect=${6011 + clients.size}`],
158-
}
159-
let serverOptions = {
157+
let serverOptions: ServerOptions = {
160158
run: { module, transport: TransportKind.ipc },
161159
debug: {
162160
module,
163161
transport: TransportKind.ipc,
164-
options: debugOptions,
162+
options: {
163+
execArgv: ['--nolazy', `--inspect=${6011 + clients.size}`],
164+
},
165165
},
166166
}
167167
let clientOptions: LanguageClientOptions = {

0 commit comments

Comments
 (0)