refactor: more precise TS typing

This commit is contained in:
Baptiste Grob
2020-06-22 15:27:35 +02:00
parent 0e6431b75d
commit d45b873046

View File

@@ -417,7 +417,7 @@ class AccountMenuCtrl extends PureViewCtrl {
} }
} }
async performImport(data: any, password?: string) { async performImport(data: BackupFile, password?: string) {
await this.setState({ await this.setState({
importData: { importData: {
...this.getState().importData, ...this.getState().importData,