Skip to content

Commit 64671a4

Browse files
committed
Minor bugfix for watch attribute in asyncComputed declaration
1 parent 9d9f55d commit 64671a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type AsyncComputedGetter<T> = () => Promise<T>;
1616
interface IAsyncComputedValue<T> {
1717
default?: T | (() => T);
1818
get: AsyncComputedGetter<T>;
19-
watch?: () => void;
19+
watch?: string[] | (() => void);
2020
shouldUpdate?: () => boolean;
2121
lazy?: boolean;
2222
}

0 commit comments

Comments
 (0)