result.ts 271 B

123456789
  1. // Could have been a class, but since there are no methods involved, an
  2. // interface is cheaper (translates to just nothing in compiled code, unlike a
  3. // class).
  4. export interface Result {
  5. playerName: string;
  6. score: number;
  7. problemCount: number;
  8. factor: number;
  9. }