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
Is your feature request related to a problem? Please describe.
In the typescript definitions, the node properties .next and .prev are of type Instance<T> | null, even for circular doubly linked list nodes (which uses the same type), meaning that using it in strict mode involves a lot of null checks that this type should not need.
Describe the solution you'd like
The node properties in this case should only be of type Instance<T>.
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In the typescript definitions, the node properties
.next
and.prev
are of typeInstance<T> | null
, even for circular doubly linked list nodes (which uses the same type), meaning that using it in strict mode involves a lot of null checks that this type should not need.Describe the solution you'd like
The node properties in this case should only be of type
Instance<T>
.Additional context
n/a
The text was updated successfully, but these errors were encountered: