You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could be a bit of a challenge, but would basically involve determining that the structure of a type or set of types matches the structure of an existing type or set of types.
consttypes=scope({user: {friends: "user[]",name: "string",},admin: {friends: "user[]",name: "string",},}).export();// should be trueattest(types.user).equals(types.admin);
Activity
fix(schema): compare cyclic types by bisimulation
fix(schema): equate cyclic types by mutual simulation
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.