StoryAction
interface exported by @mwillbanks/tuil-story.
interface
Public interface exported by @mwillbanks/tuil-story.
export interface StoryAction {
readonly type: "render" | "args" | "controls" | "input" | "resize";
readonly timestamp: number;
readonly detail?: Readonly<Record<string, unknown>>;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
type | "render" | "args" | "controls" | "input" | "resize" | Yes | The type member uses the "render" | "args" | "controls" | "input" | "resize" contract. | — |
timestamp | number | Yes | The timestamp member uses the number contract. | — |
detail | Readonly<Record<string, unknown>> | undefined | No | The detail member uses the Readonly<Record<string, unknown>> | undefined contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
No package-local related types.
Source
View the secondary source reference