forked from sidestream-tech/unified-auctions-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshims.d.ts
63 lines (55 loc) · 1.43 KB
/
shims.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// allow typescript to properly process svg imports
declare module '*.svg' {
import Vue from 'vue';
export default Vue;
}
declare module 'animated-number-vue' {}
declare module '@ivanv/vue-collapse-transition' {}
// allow typescript to properly process image imports
declare module '*.png' {
const content: string;
export default content;
}
declare module '*.jpg' {
const content: string;
export default content;
}
declare interface Window {
maker?: any;
ethereum?: any;
}
declare interface SelectOption {
label: string;
value: string;
icon?: object;
href?: string;
}
declare interface FeatureItem {
text: string;
items?: FeatureItem[];
}
declare interface FeatureList {
title: string;
url: string | undefined;
items: FeatureItem[];
}
declare interface PanelProps {
name: string;
title: string;
}
// HeapIO typescript definition, see https://developers.heap.io/reference#client-side-apis-overview
interface Heap {
load: (e?: string) => void;
track: (event: string, properties?: Object) => void;
identify: (identity: string) => void;
resetIdentity: () => void;
addUserProperties: (properties: Object) => void;
addEventProperties: (properties: Object) => void;
removeEventProperty: (property: string) => void;
clearEventProperties: () => void;
appid: string;
userId: string;
identity: string | null;
config: any;
loaded?: boolean;
}