From ded1405eecedbc3bcccc79b272896d659fb04dce Mon Sep 17 00:00:00 2001 From: Matt Kirby <MattJKirby@outlook.com> Date: Wed, 15 Mar 2023 14:05:12 +0000 Subject: [PATCH] Added comment type --- daily-thought-frontend/src/types/comment.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 daily-thought-frontend/src/types/comment.ts diff --git a/daily-thought-frontend/src/types/comment.ts b/daily-thought-frontend/src/types/comment.ts new file mode 100644 index 00000000..b4cd0f7a --- /dev/null +++ b/daily-thought-frontend/src/types/comment.ts @@ -0,0 +1,7 @@ +import { User } from "./user" + +export type Comment = { + Data: string, + User: User, + Likes: User[] +} \ No newline at end of file -- GitLab