Skip to content

Commit

Permalink
fix: typescript module compat (#3325)
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed Jun 13, 2024
1 parent 1df0be0 commit 4cd43b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fair-walls-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'graphql-yoga': patch
---

Fix TypeScript compatibility with `type: "module"`.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Plugin } from './types';
import type { Plugin } from './types.js';

/**
* Enables experimental support for request cancelation.
Expand Down

0 comments on commit 4cd43b9

Please sign in to comment.