Skip to content

Commit 3096cc1

Browse files
author
Ilya Golovin
committed
fix: typo
1 parent 0787862 commit 3096cc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typescript/src/completions/inKeywordCompletions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export default () => {
4949
const docPerCompletion: Record<string, string> = {}
5050
const maxUsingDisplayIndex = Math.max(...[...suggestionsData.entries()].map(([, { usingDisplayIndexes }]) => usingDisplayIndexes.length))
5151
const completions: ts.CompletionEntry[] = [...suggestionsData.entries()]
52-
.map(([originaName, { insertText, usingDisplayIndexes, documentations }], i) => {
53-
const name = types.length > 1 && usingDisplayIndexes.length === 1 ? `☆${originaName}` : originaName
52+
.map(([originalName, { insertText, usingDisplayIndexes, documentations }], i) => {
53+
const name = types.length > 1 && usingDisplayIndexes.length === 1 ? `☆${originalName}` : originalName
5454
docPerCompletion[name] = documentations.join('\n\n')
5555
return buildStringCompletion(node, {
5656
// ⚀ ⚁ ⚂ ⚃ ⚄ ⚅

0 commit comments

Comments
 (0)