UNPKG

card-games-typescript

Version:

Card deck and high or low game library built with TypeScript

16 lines (15 loc) 335 B
export declare type BetType = "high" | "low" | "draw" | "pass"; export interface BetInterface { on: BetType; credit: number; } export interface Payoffs { high: number; low: number; draw: number; } export declare class Bet { on?: BetType; ammount?: number; constructor(on?: BetType, ammount?: number); }