瀏覽代碼

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 => {