We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bbba37 commit 3bfd9caCopy full SHA for 3bfd9ca
.changeset/bright-baboons-chew.md
@@ -0,0 +1,5 @@
1
+---
2
+'@0no-co/graphql.web': patch
3
4
+
5
+Fix compatibility with typescript 5.5 and higher
src/types.ts
@@ -1,4 +1,4 @@
-export type Or<T, U> = 0 extends 1 & T ? U : T;
+export type Or<T, U> = void extends T ? U : T;
export type Maybe<T> = T | undefined | null;
0 commit comments