0no-co / gql.tada

🪄 Magical GraphQL query engine for TypeScript
https://gql-tada.0no.co
MIT License
2.45k stars 36 forks source link

fix(cli-utils): gql.tada generate --output *.ts was outputting .d.ts #225

Closed llllvvuu closed 3 months ago

llllvvuu commented 3 months ago

If you use gql.tada generate --output introspection.ts and there is no tadaOutputLocation in tsconfig.json, .d.ts contents will be output into a .ts file. Then initGraphQLTada will fail.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: a245f27b773b0e1e810eb36bde856f19f6db6e48

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR