Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / UndoRequestReason

Type Alias: UndoRequestReason ​

UndoRequestReason = "revealedHiddenInfo" | "otherPlayerActed"

Defined in: packages/ts-sdk/src/generated/types/common.ts:6330

Why an undo needs approval from the other players.

Example:

ts
import type { UndoRequestReason } from '@my-swu/simulator-client'

const undoRequestReason: UndoRequestReason = "revealedHiddenInfo"

console.log(undoRequestReason)

Released under the MIT License.