Build failing due to parsing error
devanshj opened this issue ยท 0 comments
devanshj commented
$ cd packages/number
$ yarn build
[...]
๐ error /workspace/sthir/packages/number/src/types.ts: Unexpected token, expected "?" (36:37)
๐ error
๐ error 34 | : never :
๐ error 35 | T extends `0b${infer X}` ? Nb.ToNumber<A.Cast<S.Split<X, "">, Nb.Unknown>> :
๐ error > 36 | T extends `${infer X extends number}` ? X :
๐ error | ^
๐ error 37 | `Error: Cannot parse expression '${T}'`
๐ error 38 |
๐ error 39 | type Test0 = A.Test<A.AreEqual<E<"5">, 5>>
[...]
cc @Andarist