Type Alias ModelFn<Ins, Out>

ModelFn<Ins, Out>: ((...inputs: Ins) => Out) | {
    get(...inputs: Ins): Out;
    set(output: Out, ...inputs: Ins): TwoWayReactiveFnSetReturnType<Ins>;
}

Type Parameters

  • Ins extends unknown[]
  • Out