diff options
Diffstat (limited to 'src/types.d.ts')
-rw-r--r-- | src/types.d.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/types.d.ts b/src/types.d.ts new file mode 100644 index 0000000..cfc60bc --- /dev/null +++ b/src/types.d.ts @@ -0,0 +1,12 @@ +export interface User { + username: string; + id: number | null; +} + +export interface Solution { + id: number; + result: string; + date: string; + author: User; +} + |