9 lines
168 B
TypeScript
9 lines
168 B
TypeScript
|
import type { AstroIntegration } from '@swup/astro'
|
||
|
|
||
|
declare global {
|
||
|
interface Window {
|
||
|
// type from '@swup/astro' is incorrect
|
||
|
swup: AstroIntegration
|
||
|
}
|
||
|
}
|