0
Fork 0
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:
Connor Bär 2023-05-19 17:34:34 +02:00 committed by GitHub
parent cf066944b5
commit 147373722b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
---
'@astrojs/prefetch': patch
---
Fix the inclusion of `@types/network-information`.

View file

@ -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'];