`),
+ })
+}
From 67abaf4050d9daf2db3fe55d292f2690b084ff78 Mon Sep 17 00:00:00 2001
From: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Date: Tue, 24 Nov 2026 15:59:57 -0800
Subject: [PATCH 10/53] Escape backslashes in snippet text
Snippet syntax treats a backslash as an escape character, so a literal
backslash must be written as \\. Snippet text containing a backslash,
such as a string-named member or a JSX tag name with a Unicode escape,
lost the backslash when the client expanded the snippet.
---
tsc/internal/fourslash/tests/autoCloseTag_test.go | 2 +-
.../fourslash/tests/completionsSnippetEscaping_test.go | 6 +++---
tsc/internal/ls/completions.go | 6 ++++--
3 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/tsc/internal/fourslash/tests/autoCloseTag_test.go b/tsc/internal/fourslash/tests/autoCloseTag_test.go
index 129b054d3e103..e35c6e5126a5e 100644
--- a/tsc/internal/fourslash/tests/autoCloseTag_test.go
+++ b/tsc/internal/fourslash/tests/autoCloseTag_test.go
@@ -81,6 +81,6 @@ const x =