types(ref): improve UnwrapRef types (#266)

This commit is contained in:
Jooger
2019-10-14 23:02:49 +08:00
committed by Evan You
parent d2bcedb213
commit d8b2b9eb9c
2 changed files with 15 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ export interface ComputedRef<T> extends WritableComputedRef<T> {
}
export interface WritableComputedRef<T> extends Ref<T> {
readonly effect: ReactiveEffect
readonly effect: ReactiveEffect<T>
}
export interface WritableComputedOptions<T> {