-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathindex.d.ts
38 lines (34 loc) · 904 Bytes
/
index.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
/// <reference types="vite/client" />
import { HTMLAttributes } from 'vue';
import './typings/environment-vue.d.ts';
import './typings/environment.d.ts';
import './typings/html.d.ts';
import './typings/markdown.d.ts';
import './typings/nwjs.d.ts';
import './typings/router.d.ts';
import './typings/shaka.d.ts';
import './typings/translate.d.ts';
declare global {
interface Window {
grecaptcha: ReCaptchaV2.ReCaptcha;
gapi: any;
__INITIAL_STATE__?: {
vuex: any;
components: any;
};
}
}
declare module 'vue' {
interface ComponentCustomProps {
id?: HTMLAttributes['id'];
title?: HTMLAttributes['title'];
draggable?: HTMLAttributes['draggable'];
tabindex?: HTMLAttributes['tabindex'];
placeholder?: HTMLAttributes['placeholder'];
onDragstart?: HTMLAttributes['onDragstart'];
}
// Allow custom CSS properties.
interface CSSProperties {
[key: `--${string}`]: string;
}
}