Type alias Watcher<P>

Watcher<P>: {
    deep?: boolean;
    immediate?: boolean;
    keys?: (keyof P)[];
}

Type Parameters

  • P

Type declaration

  • Optional deep?: boolean

    watch 深度监听属性

    Default

    false
    
  • Optional immediate?: boolean

    watch 是否立即执行属性

    Default

    false
    
  • Optional keys?: (keyof P)[]