8466 shaares
203 private links
203 private links
type BLetter = 'A' | 'B' | 'C';
type BNumber = '1' | '2' | '3';
type Board = `${BLetter}${BNumber}`;
// ^?
After the ^?
, type Board = "B1" | "B2" | "B3" | "C1" | "C2" | "C3" | "A1" | "A2" | "A3"
will be shown in the IDE.