createModel

createModel<State>();

Creates a Model. Takes no parameters and is parameterized by your app’s State.

Usage

import { createModel } from "@prodo/core";
interface State {
count: number;
}
export const model = createModel<State>();