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
// https://github.com/arktypeio/arktype/issues/1156it("with default",()=>{constt=type({foo: "string = 'bar'"}).required();constexpected=type({foo: "string",});// currently the types do not match because the default is not removedattest<typeofexpected.t,typeoft.t>();attest(t.expression).equals(expected.expression);});
Should also add cases for optionality on the value
The text was updated successfully, but these errors were encountered:
This would fix the following case:
Should also add cases for optionality on the value
The text was updated successfully, but these errors were encountered: