-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
41 lines (32 loc) · 852 Bytes
/
types.ts
File metadata and controls
41 lines (32 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
declare const React: typeof import('react')
declare const cx: typeof import('classnames')
interface Window {
dataLayer: Array<Object>
}
declare module '*.css'
declare module '@sielcken/esbuild/javascript' {
const javascript
export { javascript }
}
declare module '@sielcken/esbuild/stylesheet' {
const stylesheet
export { stylesheet }
}
declare module '*.po'
declare module '*.jpg'
declare module '*.jpeg'
declare module '*.png'
declare module '*?universal'
declare module '*.raw.svg' {
const x: string
export default x
}
interface Navigator {
webkitConnection?: NavigatorNetworkInformation
mozConnection?: NavigatorNetworkInformation
connection?: NavigatorNetworkInformation
}
declare interface NavigatorNetworkInformation {
effectiveType?: 'slow-2g' | '2g' | '3g' | '4g' | 'slow-4g' | 'unknown',
saveData?: boolean
}