Skip to content

Invalid schema code generated #2229

@tobimori

Description

@tobimori

When generating a TypeScript schema (without frameworks, without subscribes) for https://api.expo.dev/graphql, the generated code contains 3 instances of:

  8839 |     limit: ScalarsEnums["Int"];
  8840 |     offset: ScalarsEnums["Int"];
> 8841 |   }) => Array<[Update!]>;
       |                      ^

Which is not valid TypeScript syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions