Explorar el Código

chore: remove unncessary property on ComputedRef interface

Evan You hace 5 años
padre
commit
cc09772d55
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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> {