mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 10:41:56 -05:00
Removed replacement from jsx completions (#46767)
* Removed replacement from jsx completions * Fixed tests
This commit is contained in:
@@ -738,10 +738,6 @@ namespace ts.Completions {
|
||||
insertText = `${escapeSnippetText(name)}={$1}`;
|
||||
isSnippet = true;
|
||||
}
|
||||
|
||||
if (isSnippet) {
|
||||
replacementSpan = createTextSpanFromNode(location, sourceFile);
|
||||
}
|
||||
}
|
||||
|
||||
if (insertText !== undefined && !preferences.includeCompletionsWithInsertText) {
|
||||
|
||||
Reference in New Issue
Block a user