Skip to content

Commit

Permalink
fix(prefetch): Fix the inclusion of @types/network-information (#7123)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer authored May 19, 2023
1 parent cf06694 commit 1473737
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/brown-goats-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@astrojs/prefetch': patch
---

Fix the inclusion of `@types/network-information`.

2 changes: 1 addition & 1 deletion packages/integrations/prefetch/src/client.ts
Original file line number Diff line number Diff line change
@@ -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'];
Expand Down

0 comments on commit 1473737

Please sign in to comment.