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
Trying out a copy paste example from the docs and getting a type error
const query = q("*", { isArray: true })
.filterByType("inventory")
.grab$({
data: q.object({
heroImageUrl: q("types").filter().deref().grabOne("url", q.string()),
}),
});
Type 'ArrayQuery' is missing the following properties from type 'ZodType<any, any, any>': _type, _output, _input, _def, and 31 more.ts(2740)
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Code of Conduct
Code Sandbox link
No response
Bug report
Trying out a copy paste example from the docs and getting a type error const query = q("*", { isArray: true }) .filterByType("inventory") .grab$({ data: q.object({ heroImageUrl: q("types").filter().deref().grabOne("url", q.string()), }), });
Type 'ArrayQuery' is missing the following properties from type 'ZodType<any, any, any>': _type, _output, _input, _def, and 31 more.ts(2740)
The text was updated successfully, but these errors were encountered: