zenstack
zenstack copied to clipboard
[Feature Request] Define an implementation for return type of error
const { error } = useAnything()
error returns a type of
QueryError | null
Inside this type it returns a field "issues" of type unknown
Explicit type is needed here to avoid manual casting when working with this error object.