Type instantiation is excessively deep and possibly infinite

const A = type("bigint").narrow(() => true).pipe((v) => v.toString());
type A = typeof A.in.infer;

Produces error:
Type instantiation is excessively deep and possibly infinite.
Was this page helpful?