Просмотр исходного кода

chore: remove unncessary property on ComputedRef interface

Evan You 5 лет назад
Родитель
Сommit
cc09772d55
1 измененных файлов с 0 добавлено и 1 удалено
  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> {