forked from influxdata/ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.d.ts
39 lines (34 loc) · 835 Bytes
/
global.d.ts
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
import {MonacoType, ZuoraClient, MonacoEnvironmentType} from 'src/types'
import {AdMinds} from 'src/types/adminds'
//
// Got some globals here that only exist during compilation
//
declare global {
let Z: ZuoraClient
let _abcr: AdMinds
let monaco: MonacoType
let MonacoEnvironment: MonacoEnvironmentType | undefined
interface Window {
monaco: MonacoType
MonacoEnvironment?: MonacoEnvironmentType
Z: ZuoraClient
_abcr: AdMinds
}
declare module '*.png' {
const value: any
export = value
}
declare module '*.md' {
const value: string
export default value
}
declare module '*.example' {
const value: string
export default value
}
declare module '*.svg' {
export const ReactComponent: SFC<SVGProps<SVGSVGElement>>
const src: string
export default src
}
}