Skip to content

Commit

Permalink
fix: 2405 graphql-ws type import (#3811)
Browse files Browse the repository at this point in the history
  • Loading branch information
acao authored Nov 22, 2024
1 parent cd5f723 commit 5f2c3a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/two-owls-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphiql/toolkit': patch
---

Fix type export to prevent build time bugs
3 changes: 2 additions & 1 deletion packages/graphiql-toolkit/src/create-fetcher/lib.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { DocumentNode, visit } from 'graphql';
import { meros } from 'meros';
import {
import type {
Client,
ClientOptions,
ExecutionResult,
createClient as createClientType,
} from 'graphql-ws';

import {
isAsyncIterable,
makeAsyncIterableIteratorFromSink,
Expand Down

0 comments on commit 5f2c3a4

Please sign in to comment.