Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import Vue, { PluginFunction } from 'vue';
import Vue, { PluginFunction, PluginObject } from 'vue';

export interface IAsyncComputedOptions {
errorHandler?: (error: string | Error) => void;
useRawError?: boolean;
default?: any;
}

export default class AsyncComputed {
export default class AsyncComputed extends PluginObject<void> {
constructor(options?: IAsyncComputedOptions);
static install: PluginFunction<never>;
static install: PluginFunction<void>;
static version: string;
}

Expand Down