Fix search.ts

This commit is contained in:
syuilo
2021-01-03 23:58:24 +09:00
parent 2dcb3af70f
commit e3e5a4272b
3 changed files with 12 additions and 29 deletions

View File

@ -97,8 +97,8 @@ export function apiWithDialog(
export function promiseDialog<T extends Promise<any>>(
promise: T,
onSuccess?: (res: any) => void,
onFailure?: (e: Error) => void,
onSuccess?: ((res: any) => void) | null,
onFailure?: ((e: Error) => void) | null,
text?: string,
): T {
const showing = ref(true);