123456789 |
- // Could have been a class, but since there are no methods involved, an
- // interface is cheaper (translates to just nothing in compiled code, unlike a
- // class).
- interface Result {
- playerName: string;
- score: number;
- problemCount: number;
- factor: number;
- }
|