summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/endpoints.ts7
-rw-r--r--src/entities.ts2
2 files changed, 5 insertions, 4 deletions
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<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']; };
diff --git a/src/entities.ts b/src/entities.ts
index e897da8381..ac9fcd3fd6 100644
--- a/src/entities.ts
+++ b/src/entities.ts
@@ -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;