UNPKG

ts-cards

Version:
14 lines (13 loc) 375 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Card = void 0; var Card = /** @class */ (function () { function Card(suit, rank, deck) { this.suit = suit; this.rank = rank; this.description = this.rank.name + " of " + this.suit.name; this.deck = deck; } return Card; }()); exports.Card = Card;