1
0
forked from mirror/misskey

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

View File

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