diff options
-rw-r--r-- | .changeset/brown-goats-serve.md | 6 | ||||
-rw-r--r-- | packages/integrations/prefetch/src/client.ts | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.changeset/brown-goats-serve.md b/.changeset/brown-goats-serve.md new file mode 100644 index 000000000..c4fe4d016 --- /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 40a226cc5..a8b88d85c 100644 --- a/packages/integrations/prefetch/src/client.ts +++ b/packages/integrations/prefetch/src/client.ts @@ -1,5 +1,5 @@ +/// <reference types="../@types/network-information.d.ts" /> import throttles from 'throttles'; -import '../@types/network-information.d.ts'; import requestIdleCallback from './requestIdleCallback.js'; const events = ['mouseenter', 'touchstart', 'focus']; |