1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Migrate auth abstract services to strict ts (#15732)

This commit is contained in:
Oscar Hinton
2025-07-22 22:00:07 +02:00
committed by GitHub
parent c2bbb7c031
commit 54f0852f1a
3 changed files with 30 additions and 36 deletions

View File

@@ -1,5 +1,3 @@
// FIXME: Update this file to be type safe and remove this and next line
// @ts-strict-ignore
import { UserId } from "@bitwarden/common/types/guid";
import { MasterKey } from "@bitwarden/common/types/key";
import { KdfConfig } from "@bitwarden/key-management";
@@ -31,5 +29,5 @@ export abstract class SetPasswordJitService {
* @throws If any property on the `credentials` object is null or undefined, or if a protectedUserKey
* or newKeyPair could not be created.
*/
setPassword: (credentials: SetPasswordCredentials) => Promise<void>;
abstract setPassword(credentials: SetPasswordCredentials): Promise<void>;
}