Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: recast type to remove ts expected error comment #1891

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

ansmonjol
Copy link
Collaborator

Just saw this @ts-expected-error we could get rid of.

FYI this is what LagoGQLError looks like

export interface LagoGQLError extends GraphQLFormattedError {
  extensions: {
    code: LagoApiError
    details: Record<string, string[]>
  }
}

and the value is of type GraphQLFormattedError

@ansmonjol ansmonjol added the 🥷 chore This doesn't seem right label Nov 29, 2024
@ansmonjol ansmonjol self-assigned this Nov 29, 2024
@ansmonjol ansmonjol merged commit 1b1f40d into main Nov 29, 2024
4 checks passed
@ansmonjol ansmonjol deleted the apollo-cleanup branch November 29, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🥷 chore This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants