mirror of
https://github.com/bitwarden/browser
synced 2026-02-02 01:33:22 +00:00
fix types
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) ?? "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user