소스 검색

132486 change to Promise void

soumaeda 2 년 전
부모
커밋
fe05cce914
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      apps/app/src/stores/modal.tsx

+ 2 - 2
apps/app/src/stores/modal.tsx

@@ -785,8 +785,8 @@ export type TagEditModalStatus = {
 }
 
 type TagEditModalUtils = {
-  open(tags: string[], pageId: string, revisionId: string): void,
-  close(): void,
+  open(tags: string[], pageId: string, revisionId: string): Promise<void>,
+  close(): Promise<void>,
 }
 
 export const useTagEditModal = (): SWRResponse<TagEditModalStatus, Error> & TagEditModalUtils => {