6 lines
152 B
TypeScript
6 lines
152 B
TypeScript
|
import {CardKey} from './cards.ts'
|
||
|
|
||
|
export default function getCardKey(suit: string, value: string): CardKey {
|
||
|
return `${suit}_${value}` as CardKey
|
||
|
}
|