diff --git a/.changeset/fair-walls-repair.md b/.changeset/fair-walls-repair.md new file mode 100644 index 0000000000..ead9649447 --- /dev/null +++ b/.changeset/fair-walls-repair.md @@ -0,0 +1,5 @@ +--- +'graphql-yoga': patch +--- + +Fix TypeScript compatibility with `type: "module"`. diff --git a/packages/graphql-yoga/src/plugins/use-execution-cancellation.ts b/packages/graphql-yoga/src/plugins/use-execution-cancellation.ts index bb334ba3fc..5a34ed22f0 100644 --- a/packages/graphql-yoga/src/plugins/use-execution-cancellation.ts +++ b/packages/graphql-yoga/src/plugins/use-execution-cancellation.ts @@ -1,4 +1,4 @@ -import type { Plugin } from './types'; +import type { Plugin } from './types.js'; /** * Enables experimental support for request cancelation.