wip: adjust computed ref type

This commit is contained in:
Evan You
2019-08-16 10:52:45 -04:00
parent e1e4a3854c
commit 3facfa5a55
2 changed files with 5 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
import { effect, ReactiveEffect, activeReactiveEffectStack } from './effect'
import { knownValues } from './ref'
import { UnwrapNestedRefs, knownValues } from './ref'
export interface ComputedRef<T> {
readonly value: T
readonly value: UnwrapNestedRefs<T>
readonly effect: ReactiveEffect
}