Skip to content

Commit 5f2c3a4

Browse files
authored
fix: 2405 graphql-ws type import (#3811)
1 parent cd5f723 commit 5f2c3a4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/two-owls-approve.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphiql/toolkit': patch
3+
---
4+
5+
Fix type export to prevent build time bugs

packages/graphiql-toolkit/src/create-fetcher/lib.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { DocumentNode, visit } from 'graphql';
22
import { meros } from 'meros';
3-
import {
3+
import type {
44
Client,
55
ClientOptions,
66
ExecutionResult,
77
createClient as createClientType,
88
} from 'graphql-ws';
9+
910
import {
1011
isAsyncIterable,
1112
makeAsyncIterableIteratorFromSink,

0 commit comments

Comments
 (0)