UNPKG

narraleaf-react

Version:

A React visual novel player framework

9 lines (8 loc) 476 B
import { StoryActionContentType, StoryActionTypes } from "../../action/actionTypes"; import type { Story } from "../../elements/story"; import { TypedAction } from "../../action/actions"; export declare class StoryAction<T extends typeof StoryActionTypes[keyof typeof StoryActionTypes] = typeof StoryActionTypes[keyof typeof StoryActionTypes]> extends TypedAction<StoryActionContentType, T, Story> { static ActionTypes: { readonly action: "story:action"; }; }