Typescript cannot find type `RequestOptions`
tholander opened this issue · comments
Théo Holander commented
Description
With graphql-request@^6
it was possible to import type RequestOptions
and now it's not exported anymore
Reproduction Steps/Repo Link
- Create new Typescript project, install
graphql-request
- In a file add
import type { RequestOptions } from 'graphql-request';
- Typescript cannot find type
Jason Kuhrt commented
It is exported:
graphql-request/src/entrypoints/main.ts
Line 27 in 829028d