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
This comes from the index.d.ts, specifically these 3 functions:
functionisNullOrEmpty<T>(seq: IEnumerable<T>): seq is (null|IEnumerable<T>);functionisUndefinedNullOrEmpty<T>(seq: IEnumerable<T>): seq is (undefined|null|IEnumerable<T>);functionisUndefinedOrEmpty<T>(seq: IEnumerable<T>): seq is (undefined|IEnumerable<T>);
I believe the correct semantics, also based on their names and what they should be able to accept as parameters is:
functionisNullOrEmpty<T>(seq: null|IEnumerable<T>): seq is (null|IEnumerable<T>);functionisUndefinedNullOrEmpty<T>(seq: undefined|null|IEnumerable<T>): seq is (undefined|null|IEnumerable<T>);functionisUndefinedOrEmpty<T>(seq: undefined|IEnumerable<T>): seq is (undefined|IEnumerable<T>);
I am using typescript 2.7.2.
The text was updated successfully, but these errors were encountered:
This comes from the
index.d.ts
, specifically these 3 functions:I believe the correct semantics, also based on their names and what they should be able to accept as parameters is:
I am using typescript 2.7.2.
The text was updated successfully, but these errors were encountered: