Skip to content

Commit 4289d23

Browse files
committed
refactor hotfix
1 parent edb2b66 commit 4289d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ type Parse<T extends string> = string extends T
371371
namedCaptures: Record<string, string | undefined>;
372372
}
373373
// @ts-expect-error: this should terminate
374-
: Distribute<ContextualizeToken<IndexifyTokenDeep<TokenTree<`(_${T}_)`>>>>
374+
: Distribute<ContextualizeToken<IndexifyTokenDeep<TokenTree<`(\\\\${T})`>>>>
375375
;
376376

377377
type Remove<Ts extends unknown[], TMatch extends Ts[number]> = unknown extends AsLinked<Ts, infer First, infer Rest>

0 commit comments

Comments
 (0)