1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-02 01:33:22 +00:00

fix types

This commit is contained in:
jaasen-livefront
2025-11-04 16:42:31 -08:00
parent 3d2bcf8b80
commit 91d95dd6fe
2 changed files with 5 additions and 5 deletions

View File

@@ -40,8 +40,8 @@ export class FieldExport {
return;
}
this.name = safeGetString(o.name);
this.value = safeGetString(o.value);
this.name = safeGetString(o.name) ?? "";
this.value = safeGetString(o.value) ?? "";
this.type = o.type;
this.linkedId = o.linkedId;
}

View File

@@ -36,8 +36,8 @@ export class SshKeyExport {
return;
}
this.privateKey = safeGetString(o.privateKey);
this.publicKey = safeGetString(o.publicKey);
this.keyFingerprint = safeGetString(o.keyFingerprint);
this.privateKey = safeGetString(o.privateKey) ?? "";
this.publicKey = safeGetString(o.publicKey) ?? "";
this.keyFingerprint = safeGetString(o.keyFingerprint) ?? "";
}
}