Update issue_details.ts (#4199)

You should implement the interface here, not yourself
This commit is contained in:
17347013442
2024-04-16 15:54:54 +08:00
committed by GitHub
parent 963d078aba
commit 320cb94e35

View File

@@ -54,7 +54,7 @@ export interface IIssueDetailStore {
removeIssueVote: (workspaceId: string, projectId: string, issueId: string) => Promise<void>;
}
class IssueDetailStore implements IssueDetailStore {
class IssueDetailStore implements IIssueDetailStore {
loader: boolean = false;
error: any = null;
peekId: string | null = null;