From 08524feb031f50be16335fd5b7ca62fcc95b9df9 Mon Sep 17 00:00:00 2001 From: mei23 Date: Sun, 20 Jan 2019 11:48:09 +0900 Subject: [PATCH] rename --- src/models/note.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/note.ts b/src/models/note.ts index fb739faf90..b4ecd2de4b 100644 --- a/src/models/note.ts +++ b/src/models/note.ts @@ -39,7 +39,7 @@ export type INote = { replyId: mongo.ObjectID; renoteId: mongo.ObjectID; poll: { - choices: choice[] + choices: IChoice[] }; text: string; tags: string[]; @@ -100,7 +100,7 @@ export type INote = { _files?: IDriveFile[]; }; -export type choice = { +export type IChoice = { id: number; text: string; votes: number;