mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
22 lines
550 B
TypeScript
22 lines
550 B
TypeScript
/* eslint-disable no-var */
|
|
declare global {
|
|
var __NUXT_VERSION__: string
|
|
var __NUXT_ASYNC_CONTEXT__: boolean
|
|
|
|
interface Navigator {
|
|
connection?: {
|
|
type: 'bluetooth' | 'cellular' | 'ethernet' | 'none' | 'wifi' | 'wimax' | 'other' | 'unknown'
|
|
effectiveType: 'slow-2g' | '2g' | '3g' | '4g'
|
|
}
|
|
}
|
|
|
|
interface Window {
|
|
cookieStore?: {
|
|
addEventListener: (type: 'change', listener: (event: any) => void) => void
|
|
removeEventListener: (type: 'change', listener: (event: any) => void) => void
|
|
}
|
|
}
|
|
}
|
|
|
|
export {}
|