Skip to content

Commit 8748ad4

Browse files
fraparisiPeachScript
authored andcommitted
chore: add missing install method declaration in ts definition (#214)
* Fix InfiniteLoading Plugin in typescript * Update index.d.ts
1 parent 93523c4 commit 8748ad4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

types/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Definitions by: Phil Scott <https://github.com/enkafan>
44
// PeachScript <https://github.com/PeachScript>
55

6-
import Vue, { VNode, Component } from 'vue';
6+
import Vue, { VNode, Component, PluginFunction } from 'vue';
77

88
export type SpinnerType = 'default' | 'bubbles' | 'circles' | 'spiral' | 'waveDots';
99
export type DirectionType = 'top' | 'bottom';
@@ -64,5 +64,7 @@ export default class InfiniteLoading extends Vue {
6464

6565
// Slots
6666
$slots: Slots;
67+
68+
static install: PluginFunction<never>;
6769
}
6870

0 commit comments

Comments
 (0)