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
it("referenced in scope inline",()=>{const$=scope({one: "1",// now is a circular reference errororOne: ()=>$.type("<t>","t|one"),});consttypes=$.export();constbit=types.orOne("0");constexpected=type("0|1");attest<typeofexpected.t>(bit.t);attest(bit.json).equals(expected.json);});
Seems like a (reasonable) limitation of TypeScript, so mostly creating this for tracking purposes, but I don't expect to be able to make a change while preserving conditional output types to fix this.
The text was updated successfully, but these errors were encountered:
Up until
2.0.0-beta.2
, this test was passing:Seems like a (reasonable) limitation of TypeScript, so mostly creating this for tracking purposes, but I don't expect to be able to make a change while preserving conditional output types to fix this.
The text was updated successfully, but these errors were encountered: