change the explicit type for the err parameter in the callback functions of finalizeTwoFactor and revokeTwoFactor as Error | null. This would resolve the TypeScript inference error. fixed the earlier pull request because of accidentally deleting
delete _store.accounts[_store.main].secrets;
change the explicit type for the err parameter in the callback functions of finalizeTwoFactor and revokeTwoFactor as Error | null. This would resolve the TypeScript inference error. fixed the earlier pull request because of accidentally deleting
delete _store.accounts[_store.main].secrets;