From 61d40b416f64e086086bea9d6eed53f04915d5d2 Mon Sep 17 00:00:00 2001 From: fraparisi <31764698+fraparisi@users.noreply.github.com> Date: Thu, 3 Jan 2019 12:24:42 +0100 Subject: [PATCH 1/2] Fix InfiniteLoading Plugin in typescript --- types/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/index.d.ts b/types/index.d.ts index 91f1f5d..9b5ee5a 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -64,5 +64,7 @@ export default class InfiniteLoading extends Vue { // Slots $slots: Slots; + + static install: PluginFunction; } From a6495a9e3ddc00eb3bcec11a7cf3557556e46d27 Mon Sep 17 00:00:00 2001 From: fraparisi <31764698+fraparisi@users.noreply.github.com> Date: Mon, 14 Jan 2019 10:06:08 +0100 Subject: [PATCH 2/2] Update index.d.ts --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 9b5ee5a..9a3fd40 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Phil Scott // PeachScript -import Vue, { VNode, Component } from 'vue'; +import Vue, { VNode, Component, PluginFunction } from 'vue'; export type SpinnerType = 'default' | 'bubbles' | 'circles' | 'spiral' | 'waveDots'; export type DirectionType = 'top' | 'bottom';