Type alias ModelFn<Ins, Out>

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

Type Parameters

  • Ins extends unknown[]
  • Out

Type declaration

    • (...inputs): Out
    • Parameters

      • Rest ...inputs: Ins

      Returns Out

Type declaration