Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackbaud-TrevorBurch committed Feb 29, 2024
1 parent 681b65b commit 81c621e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ export class SkyDocsTypeDocAdapterService {
}

definition.hasPreviewFeatures =
definition.methods?.some((method) => method.isPreview) ||
definition.properties?.some((property) => property.isPreview);
!!definition.methods?.some((method) => method.isPreview) ||
!!definition.properties?.some((property) => property.isPreview);

return definition;
}
Expand Down Expand Up @@ -117,8 +117,8 @@ export class SkyDocsTypeDocAdapterService {
}

definition.hasPreviewFeatures =
definition.inputProperties?.some((property) => property.isPreview) ||
definition.eventProperties?.some((property) => property.isPreview);
!!definition.inputProperties?.some((property) => property.isPreview) ||
!!definition.eventProperties?.some((property) => property.isPreview);

return definition;
}
Expand Down

0 comments on commit 81c621e

Please sign in to comment.