There was an error while loading. Please reload this page.
1 parent 7bb69df commit 0f201c4Copy full SHA for 0f201c4
1 file changed
shared/types/comment.ts
@@ -70,8 +70,7 @@ export interface MusicCommentCreatorQuery {
70
71
/** 主创说 IPC 响应 */
72
export type MusicCommentCreatorResponse =
73
- | { ok: true; data: MusicCommentItem[] }
74
- | { ok: false; error: string };
+ { ok: true; data: MusicCommentItem[] } | { ok: false; error: string };
75
76
/** 渲染端评论 API */
77
export interface CommentsApi {
0 commit comments