UndoActiontype
Requests restoration of the prior Gem Swap move.
Import it
import type { UndoAction } from "@johnmorrisdotca/houseki/gem-swap";
Definition
interface UndoAction {
readonly kind: 'undo';
}
Members
| Name | Type | Description |
|---|---|---|
kind | "undo" |
Examples
import type { UndoAction } from "@johnmorrisdotca/houseki/gem-swap";
const value: UndoAction = {kind:"undo"};
console.log(value == null ? value : typeof value === "object" ? Object.keys(value).slice(0,6) : value);[ 'kind' ]What it prints (run when this page was built)