forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.d.ts
34 lines (26 loc) · 869 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
declare module '*.png' {
import type {ImageSourcePropType} from 'react-native';
const value: ImageSourcePropType;
export default value;
}
declare module '*.jpg' {
import type {ImageSourcePropType} from 'react-native';
const value: ImageSourcePropType;
export default value;
}
declare module '*.svg' {
import type React from 'react';
import type {SvgProps} from 'react-native-svg';
const content: React.FC<SvgProps>;
export default content;
}
declare module '*.lottie' {
import type {LottieViewProps} from 'lottie-react-native';
const value: LottieViewProps['source'];
export default value;
}
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
interface Window {
setSupportToken: (token: string, email: string, accountID: number) => void;
shouldAllowRawHTMLMessages: boolean;
}