Browse Source

chore: remove unncessary property on ComputedRef interface

Evan You 5 năm trước cách đây
mục cha
commit
cc09772d55
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      packages/reactivity/src/computed.ts

+ 0 - 1
packages/reactivity/src/computed.ts

@@ -5,7 +5,6 @@ import { ReactiveFlags, toRaw } from './reactive'
 
 export interface ComputedRef<T = any> extends WritableComputedRef<T> {
   readonly value: T
-  defer?: (fn: () => void) => void
 }
 
 export interface WritableComputedRef<T> extends Ref<T> {