mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
[PM-25683] Migrate Cipher model and sub-models (#16974)
* Made domain classes ts-strict compliant and fixed spec files * Fixed domain base class and other test files * Added conditional utils and fixed small nits * removed comments * removd ts expect errors * Added removed counter * renamed test name * fixed tests
This commit is contained in:
@@ -24,7 +24,9 @@ export class CipherPermissionsApi extends BaseResponse implements SdkCipherPermi
|
||||
/**
|
||||
* Converts the SDK CipherPermissionsApi to a CipherPermissionsApi.
|
||||
*/
|
||||
static fromSdkCipherPermissions(obj: SdkCipherPermissions): CipherPermissionsApi | undefined {
|
||||
static fromSdkCipherPermissions(
|
||||
obj: SdkCipherPermissions | undefined,
|
||||
): CipherPermissionsApi | undefined {
|
||||
if (!obj) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user