Преглед на файлове

chore: remove unncessary property on ComputedRef interface

Evan You преди 5 години
родител
ревизия
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> {