UNPKG

@gamepark/rules-api

Version:

API to implement the rules of a board game

11 lines (10 loc) 304 B
import { TFunction } from 'i18next'; export type Option = { label: (t: TFunction) => string; help?: (t: TFunction) => string; warn?: (t: TFunction) => string; subscriberRequired?: boolean; competitiveDisabled?: boolean; solo?: boolean; hide?: (players: number) => boolean; };