diff options
Diffstat (limited to 'src/types.d.ts')
-rw-r--r-- | src/types.d.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/types.d.ts b/src/types.d.ts new file mode 100644 index 0000000..949d410 --- /dev/null +++ b/src/types.d.ts @@ -0,0 +1,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; +} + |