Skip to content

"error TS6133: 'queryKey' is declared but its value is never read" from queries.ts and suspense.ts #112

@Etsija

Description

@Etsija

Describe the bug
Files queries/queries.ts and queries/suspense.ts generate TS errors from queryKey being declared but its value never read, resulting in error TS6133 when building a project with the API.

OpenAPI JSON causing the bug
api.json

Expected behavior
Either don't generate unused parameters, or auto-insert

// @ts-nocheck 

to generated files which may declare unused variables.

  • OS: Ubuntu 22.04
  • Version 1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions