jasonkuhrt / graphql-request

Minimal GraphQL client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript cannot find type `RequestOptions`

tholander opened this issue · comments

Description

With graphql-request@^6 it was possible to import type RequestOptions and now it's not exported anymore

Reproduction Steps/Repo Link

  1. Create new Typescript project, install graphql-request
  2. In a file add import type { RequestOptions } from 'graphql-request';
  3. Typescript cannot find type

It is exported:

type RequestOptions,