aboutsummaryrefslogtreecommitdiff
path: root/src/types.d.ts
blob: 949d410e0a7fd875b95791736e02c2e786e56153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export interface User {
  username: string;
  id: number | null;
}

export interface Solution {
  id: number;
  result: string;
  date: string;
  author: User;
}

interface RenderPropTypes {
  index: number;
  style: React.CSSProperties;
}