Property 'describe' does not exist on type 'instantiateType<inferTupleExpression<...>, {}>'

const create = <T extends number>(code: T) =>
  type(["===", code]).describe("abc") as Type<T>;

This used to work, but now in the latest version it results in error:
Property 'describe' does not exist on type 'instantiateType<inferTupleExpression<readonly ["===", T], {}, bindThis<readonly ["===", T]>>, {}>'
Was this page helpful?