Skip to content

Commit 8aaabc9

Browse files
committed
fix: triggerCharacters might be undefined
1 parent 18348ee commit 8aaabc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/signature-help-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export class SignatureHelpManager {
192192
return
193193
}
194194

195-
if (provider.triggerCharacters.has(change.newText[index])) {
195+
if (provider.triggerCharacters?.has(change.newText[index])) {
196196
this.showSignatureHelp(provider, this.editor, cursorPosition)
197197
}
198198
})

0 commit comments

Comments
 (0)