Selaa lähdekoodia

chore: remove unncessary property on ComputedRef interface

Evan You 5 vuotta sitten
vanhempi
commit
cc09772d55
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  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> {