Skip to content

Commit 7e922f6

Browse files
committed
minor changes
1 parent 67ad25d commit 7e922f6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Utils
2-
// Compensation
2+
// Constraints
33
type As<T, _Infer extends T> = unknown;
44
export 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
};

0 commit comments

Comments
 (0)