fix TODO type

This commit is contained in:
marihachi 2021-05-23 14:56:38 +09:00
parent adae7cf2ec
commit 39270c782a
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
import {
Ad, Announcement, Antenna, App, AuthSession, Clip, DriveFile, DriveFolder, GalleryPost, InstanceMetadata,
Note, OriginType, Page, ServerInfo, Stats, TODO, User, UserGroup, UserList, UserSorting
Note, OriginType, Page, ServerInfo, Stats, User, UserGroup, UserList, UserSorting
} from './entities';
type TODO = Record<string, any> | null;
type ShowUserReq = { username: string; host?: string; } | { userId: User['id']; };
export type Endpoints = {

View File

@ -1,7 +1,7 @@
export type ID = string;
export type DateString = string;
export type TODO = Record<string, any> | null;
type TODO = Record<string, any>;
export type User = {
id: ID;