types(ref): improve UnwrapRef types (#266)
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user