You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/int-range.d.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,9 @@ type PrivateIntRange<
56
56
// The final `List` is `[...StartLengthTuple, ...[number, ...GapLengthTuple], ...[number, ...GapLengthTuple], ... ...]`, so can initialize the `List` with `[...StartLengthTuple]`
57
57
Listextendsunknown[]=TupleOf<Start,never>,
58
58
EndLengthTupleextendsunknown[]=TupleOf<End>,
59
-
>=Gapextends0 ?
59
+
>=Gapextends0
60
60
// Handle the case that without `Step`
61
-
List['length']extendsEnd// The result of "List[length] === End"
61
+
? List['length']extendsEnd// The result of "List[length] === End"
62
62
? Exclude<List[number],never>// All unused elements are `never`, so exclude them
0 commit comments