File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11// Utils
2- // Compensation
2+ // Constraints
33type As < T , _Infer extends T > = unknown ;
44export type Head < T extends unknown [ ] > = T [ 0 ] ;
55/**
@@ -391,7 +391,7 @@ export type Parse<T extends string> = string extends T
391391 captures : [ string , ...( string | undefined ) [ ] ] ,
392392 namedCaptures : Record < string , string | undefined > ;
393393 }
394- // @ts -expect-error: this should terminate
394+ // @ts -expect-error: Excessive stack depth
395395 : Distribute < ContextualizeToken < IndexToken < {
396396 type : 'groups' ,
397397 groups : [ {
@@ -630,5 +630,4 @@ export const typedRegExp = <
630630 & ( GlobalFalseIndicesBehavior < false > | GlobalFalseIndicesBehavior < true > )
631631 )
632632 ) & ( IndicesBehavior < false > | IndicesBehavior < true > ) > ;
633-
634633} ;
You can’t perform that action at this time.
0 commit comments