Skip to content

Commit

Permalink
fix: compatibility with typescript 5.5 and higher (#49)
Browse files Browse the repository at this point in the history
* fix: compatibility with typescript 5.5 and higher

* add changeset
  • Loading branch information
andreisergiu98 authored Jan 6, 2025
1 parent 6bbba37 commit 3bfd9ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/bright-baboons-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@0no-co/graphql.web': patch
---

Fix compatibility with typescript 5.5 and higher
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 3bfd9ca

Please sign in to comment.