Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit 06d38be

Browse files
fixing typescript
1 parent 786a7ea commit 06d38be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class extends Controller {
3333

3434
prefetch (): void {
3535
// @ts-ignore
36-
const connection = navigator.connection
36+
const connection: any = navigator.connection
3737

3838
if (connection) {
3939
// Don't prefetch if using 2G or if Save-Data is enabled.

0 commit comments

Comments
 (0)