From e575679619833105ad4c967716023572138e4db6 Mon Sep 17 00:00:00 2001 From: dolf Date: Fri, 1 Oct 2021 12:10:01 +0200 Subject: [PATCH] Fix `AsyncComputed` type. --- types/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 2adcc41..f9a224f 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -import Vue, { PluginFunction } from 'vue'; +import Vue, { PluginFunction, PluginObject } from 'vue'; export interface IAsyncComputedOptions { errorHandler?: (error: string | Error) => void; @@ -6,9 +6,9 @@ export interface IAsyncComputedOptions { default?: any; } -export default class AsyncComputed { +export default class AsyncComputed extends PluginObject { constructor(options?: IAsyncComputedOptions); - static install: PluginFunction; + static install: PluginFunction; static version: string; }