Skip to content

Commit 93e5252

Browse files
committed
Reduce Stack Limit to 2
1 parent b1063b4 commit 93e5252

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/type/types/ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type CyclicStackLength<Stack extends unknown[], MaxLength extends number, Buffer
6060
: true
6161
)
6262
type CyclicGuard<Stack extends unknown[], Ref extends string> = (
63-
Ref extends Stack[number] ? CyclicStackLength<Stack, 4> : true
63+
Ref extends Stack[number] ? CyclicStackLength<Stack, 2> : true
6464
)
6565

6666
// ------------------------------------------------------------------

0 commit comments

Comments
 (0)