Skip to content

Responses not typed in VS Code #591

@BorisKamp

Description

@BorisKamp

Environment

Describe the bug

I remember in the past, that responses from Gql... auto created functions were typed, but in my recent project, that is no more.
See my screenshot here:
Screenshot 2025-01-10 at 09 09 02
response is any here...

In .nuxt/gql/default.ts I see the OrdersQuery generated, but it is not used somehow?
Screenshot 2025-01-10 at 09 09 45

Does anybody have a clue? It is very annoying that I get those TS errors because responses are any

Expected behaviour

The responses to be typed

Reproduction

No response

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions