Type alias LottoBallImageSrcConfig

LottoBallImageSrcConfig: Record<BallType, string>

Defines the mapping from each ball type to its corresponding image source URL. See BallType.

Example

const config: LottoBallImageSrcConfig = {
[BallType.SelfPick]: 'path/to/self_pick.png',
[BallType.ComputerPick]: 'path/to/computer_pick.png',
// ...and so on for all ball types
};

Generated using TypeDoc