-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.d.ts
More file actions
38 lines (36 loc) · 1.06 KB
/
app.d.ts
File metadata and controls
38 lines (36 loc) · 1.06 KB
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
import type {
DrivePickerElement,
DrivePickerDocsViewElement,
DrivePickerElementProps,
DrivePickerDocsViewElementProps,
} from '@googleworkspace/drive-picker-element';
declare global {
namespace JSX {
interface IntrinsicElements {
'drive-picker': React.DetailedHTMLProps<
React.HTMLAttributes<DrivePickerElement> & DrivePickerElementProps,
DrivePickerElement
>;
'drive-picker-docs-view': React.DetailedHTMLProps<
React.HTMLAttributes<DrivePickerDocsViewElement> &
DrivePickerDocsViewElementProps,
DrivePickerDocsViewElement
>;
}
}
interface Window {
Outseta?: {
logout: () => Promise<void>;
setMagicLinkIdToken: (idToken: string) => void;
getUser: () => Promise<Record<string, unknown>>;
setAccessToken: (token: string | null) => void;
auth: {
close: () => Promise<void>;
};
on: (
event: 'logout' | 'redirect' | 'signup',
callback: (...args: unknown[]) => void | boolean | Promise<void | boolean>
) => void;
};
}
}