ActionBase
import type { ActionBase } from "https://raw.githubusercontent.com/Hatscat/MetavaScript/main/index.ts";
an interface to extends for typed actions related to the State Mutator pattern
interface ActionBase <ActionType = string | number> {
payload?: {};
[key: string]: unknown;
type: ActionType;
}