File tree Expand file tree Collapse file tree
packages/common/lib/functions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,12 @@ export function getTypesFromObject(
3838 } else if ( typeof subject === 'string' ) {
3939 return [ subject ] ;
4040 } else if ( 'credential_definition' in subject ) {
41- return getTypesFromObject ( subject . credential_definition as CredentialDefinitionJwtVcJsonLdAndLdpVcV1_0_13 | CredentialDefinitionJwtVcJsonV1_0_13 | JsonLdIssuerCredentialDefinition ) ;
41+ return getTypesFromObject (
42+ subject . credential_definition as
43+ | CredentialDefinitionJwtVcJsonLdAndLdpVcV1_0_13
44+ | CredentialDefinitionJwtVcJsonV1_0_13
45+ | JsonLdIssuerCredentialDefinition ,
46+ ) ;
4247 } else if ( 'types' in subject && subject . types ) {
4348 return Array . isArray ( subject . types ) ? subject . types : [ subject . types ] ;
4449 } else if ( 'type' in subject && subject . type ) {
You can’t perform that action at this time.
0 commit comments