From adae7cf2ecef74ec06e7632e58385c9443d1d544 Mon Sep 17 00:00:00 2001 From: marihachi Date: Sun, 23 May 2021 14:48:42 +0900 Subject: fix TODO type --- src/endpoints.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/endpoints.ts') diff --git a/src/endpoints.ts b/src/endpoints.ts index 0c8c50e6f2..152266cf4e 100644 --- a/src/endpoints.ts +++ b/src/endpoints.ts @@ -1,6 +1,7 @@ -import { Ad, Announcement, Antenna, App, AuthSession, Clip, DriveFile, DriveFolder, GalleryPost, InstanceMetadata, Note, OriginType, Page, ServerInfo, Stats, User, UserGroup, UserList, UserSorting } from './entities'; - -type TODO = Record; +import { + Ad, Announcement, Antenna, App, AuthSession, Clip, DriveFile, DriveFolder, GalleryPost, InstanceMetadata, + Note, OriginType, Page, ServerInfo, Stats, TODO, User, UserGroup, UserList, UserSorting +} from './entities'; type ShowUserReq = { username: string; host?: string; } | { userId: User['id']; }; -- cgit v1.2.3-freya