@towercg2/server
Version:
The server runtime for the TowerCG2 video graphics system.
22 lines (18 loc) • 384 B
text/typescript
import {
Action,
AnyAction,
ActionCreator
} from "redux";
export interface IncrementTickAction extends Action {
type: "@@TickPlugin/INCREMENT_TICK";
payload: {
tickerName: string;
};
};
export const incrementTick: ActionCreator<IncrementTickAction> =
(tickerName: string) => ({
type: "@@TickPlugin/INCREMENT_TICK",
payload: {
tickerName
}
});