aboutsummaryrefslogtreecommitdiff
path: root/src/types.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.d.ts')
-rw-r--r--src/types.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.d.ts b/src/types.d.ts
index 6cf4fdd..31c2c74 100644
--- a/src/types.d.ts
+++ b/src/types.d.ts
@@ -1,6 +1,7 @@
export interface User {
name: string;
avatarUrl: string;
+ _id: string;
}
interface ImageData {
url: string;
@@ -8,6 +9,7 @@ interface ImageData {
}
export interface Poll {
+ _id: string;
author: {
name: string;
avatarUrl: string;