UNPKG

730 BTypeScriptView Raw
1declare module "vue-svg-inline-plugin" {
2
3 interface Options {
4 directive?: {
5 name?: string;
6 spriteModifierName?: string;
7 };
8 attributes?: {
9 clone?: string[];
10 merge?: string[];
11 add?: { name: string; value: string | number }[];
12 data?: string[];
13 remove?: string[];
14 };
15 cache?: {
16 version?: string;
17 persistent?: boolean;
18 removeRevisions?: boolean;
19 };
20 intersectionObserverOptions?: any;
21 axios?: any;
22 xhtml?: boolean;
23 }
24
25 type InstallFunction = (VueOrApp: any, options?: Options) => void;
26
27 type VueSvgInlinePlugin = (InstallFunction & { install?: InstallFunction }) | { install: InstallFunction };
28
29 const _default: VueSvgInlinePlugin;
30
31 export { Options };
32
33 export default _default;
34
35}