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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;