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; }