diff --git a/packages/typescript-plugin/src/language-service/completions.ts b/packages/typescript-plugin/src/language-service/completions.ts index ad05abc60..b03b28da4 100644 --- a/packages/typescript-plugin/src/language-service/completions.ts +++ b/packages/typescript-plugin/src/language-service/completions.ts @@ -131,6 +131,7 @@ export function decorateCompletions( } return { ...entry, + insertText: entry.insertText?.replace(componentPostfix, ''), name: entry.name.slice(0, -componentPostfix.length) }; })