Type Alias ModelProxy<P, S, D>

ModelProxy<P, S, D>: P & S & Readonly<D> & {
    attributes: P & S;
    isState: true;
    mirrorMask: {
        [key in keyof (P & S & D) as `change:${string & key}`]: number
    };
    serialize(): P;
    toJSON(): P;
}

Type Parameters

  • P
  • S
  • D