Skip to content

Commit 810471b

Browse files
authored
Fix typo in completionResult variable name (#318)
1 parent f5de98b commit 810471b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/example/sample.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ async function main() {
4949
* > ]
5050
*/
5151

52-
const competionResult = await jsonLanguageService.doComplete(textDocument, { line: 2, character: 18 }, jsonDocument);
53-
console.log('Completion proposals:', competionResult?.items.map(i => `${i.label}`));
52+
const completionResult = await jsonLanguageService.doComplete(textDocument, { line: 2, character: 18 }, jsonDocument);
53+
console.log('Completion proposals:', completionResult?.items.map(i => `${i.label}`));
5454

5555
/*
5656
* Completion proposals: [ '"Ireland"', '"Iceland"' ]

0 commit comments

Comments
 (0)