mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
fix(prefetch): Fix the inclusion of @types/network-information
(#7123)
This commit is contained in:
parent
cf066944b5
commit
147373722b
2 changed files with 7 additions and 1 deletions
6
.changeset/brown-goats-serve.md
Normal file
6
.changeset/brown-goats-serve.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
'@astrojs/prefetch': patch
|
||||
---
|
||||
|
||||
Fix the inclusion of `@types/network-information`.
|
||||
|
|
@ -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'];
|
||||
|
|
Loading…
Add table
Reference in a new issue