-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
ts-array-length/src/typeUtils.ts
Line 17 in 9b0b680
| : Str extends "Infinity" | "-Infinity" | "NaN" |
Since there are no NaN, Infinity or -Infinity types in TypeScript, I think it would be better to remove them.
Additionally, shouldn't you handle exponential notation decimals as shown below? (For example, 1e-900 is a decimal.)
: Str extends `${string}e-${string}`Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working