fix TODO type

This commit is contained in:
marihachi 2021-05-23 14:48:42 +09:00
parent 6ae5f76250
commit adae7cf2ec
2 changed files with 5 additions and 4 deletions

View file

@ -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<string, any>;
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']; };

View file

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