From d45b87304618a533fcd2e96193a7947861a5b81a Mon Sep 17 00:00:00 2001 From: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com> Date: Mon, 22 Jun 2020 15:27:35 +0200 Subject: [PATCH] refactor: more precise TS typing --- app/assets/javascripts/directives/views/accountMenu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/directives/views/accountMenu.ts b/app/assets/javascripts/directives/views/accountMenu.ts index 56fbe46ea..005e930ad 100644 --- a/app/assets/javascripts/directives/views/accountMenu.ts +++ b/app/assets/javascripts/directives/views/accountMenu.ts @@ -417,7 +417,7 @@ class AccountMenuCtrl extends PureViewCtrl { } } - async performImport(data: any, password?: string) { + async performImport(data: BackupFile, password?: string) { await this.setState({ importData: { ...this.getState().importData,