1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 19:53:59 +00:00

prefer no !

This commit is contained in:
Matt Gibson
2025-07-10 10:05:49 -07:00
parent e0345d3bac
commit 49f6d7f135

View File

@@ -19,7 +19,7 @@ import {
*/
function buildKeyDefinition<T>(key: string): UserKeyDefinition<T> {
return new UserKeyDefinition<T>(ORGANIZATION_MANAGEMENT_PREFERENCES_DISK, key, {
deserializer: (obj) => obj! as T,
deserializer: (obj) => obj as T | null,
clearOn: ["logout"],
});
}