Mirror: The spec-compliant minimum of client-side GraphQL.

fix: compatibility with typescript 5.5 and higher (#49)

* fix: compatibility with typescript 5.5 and higher

* add changeset

Woky 3bfd9ca0 6bbba37a

Changed files
+6 -1
.changeset
src
+5
.changeset/bright-baboons-chew.md
···
+
---
+
'@0no-co/graphql.web': patch
+
---
+
+
Fix compatibility with typescript 5.5 and higher
+1 -1
src/types.ts
···
-
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;