Closed some-user123 closed 1 week ago
same here
It seems to me that GqlError could be included in the dist in some way... Nuxt Module Builder might be relevant too?
I made a PR to export the type
@mariopries Thanks for taking the time to address this! Your fix has been merged into the latest release.
Your use case
When defining a custom error handler using
useGqlError
I'd like to write a type safe function, e.g.:Instead of:
I want to write:
The solution you'd like
I'd like to import the type
GqlError
. Could not find a working export. (Ideally, this would be reflected in the docs)Possible alternatives
No response
Additional information
No response