From 147373722b37126af949bb054a1cdfb0aed6c2ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Connor=20B=C3=A4r?= Date: Fri, 19 May 2023 17:34:34 +0200 Subject: [PATCH] fix(prefetch): Fix the inclusion of `@types/network-information` (#7123) --- .changeset/brown-goats-serve.md | 6 ++++++ packages/integrations/prefetch/src/client.ts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/brown-goats-serve.md diff --git a/.changeset/brown-goats-serve.md b/.changeset/brown-goats-serve.md new file mode 100644 index 0000000000..c4fe4d0167 --- /dev/null +++ b/.changeset/brown-goats-serve.md @@ -0,0 +1,6 @@ +--- +'@astrojs/prefetch': patch +--- + +Fix the inclusion of `@types/network-information`. + diff --git a/packages/integrations/prefetch/src/client.ts b/packages/integrations/prefetch/src/client.ts index 40a226cc56..a8b88d85c3 100644 --- a/packages/integrations/prefetch/src/client.ts +++ b/packages/integrations/prefetch/src/client.ts @@ -1,5 +1,5 @@ +/// import throttles from 'throttles'; -import '../@types/network-information.d.ts'; import requestIdleCallback from './requestIdleCallback.js'; const events = ['mouseenter', 'touchstart', 'focus'];