Should be able to give a type error in situations like these:
scope({ a: "a" }) scope({a: "b", b: "a|undefined"})
fix(schema): allow an alias only as a structural value
fix(type): check shallow cycles statically
test(type): trim cyclic.test to one case per behavior
docs(type): cite the issues the release fixes and add the entries it …
Fixed in 3.0.0-beta.0 (#1728). Try it with npm i arktype@next.
npm i arktype@next
Activity
ssalbdivad commentedon Jan 14, 2023
Should be able to give a type error in situations like these:
fix(schema): allow an alias only as a structural value
fix(type): check shallow cycles statically
test(type): trim cyclic.test to one case per behavior
docs(type): cite the issues the release fixes and add the entries it …
ssalbdivad commentedon Nov 18, 2026
Fixed in 3.0.0-beta.0 (#1728). Try it with
npm i arktype@next.