fix: missing promise type

pull/120/head
sualko 2021-01-23 13:15:15 +01:00
parent dd830a121a
commit fd5dcb4392
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ $(() => {
}
function checkPasswordConfirmation() {
return new Promise(resolve => {
return new Promise<void>(resolve => {
if (OC.PasswordConfirmation && OC.PasswordConfirmation.requiresPasswordConfirmation()) {
OC.PasswordConfirmation.requirePasswordConfirmation(() => resolve());