(entitlement: Entitlement, _license: License | null)
| 172 | } |
| 173 | |
| 174 | export const hasEntitlement = (entitlement: Entitlement, _license: License | null) => { |
| 175 | const entitlements = getEntitlements(_license); |
| 176 | return entitlements.includes(entitlement); |
| 177 | } |
| 178 | |
| 179 | export type OfflineLicenseMetadata = { |
| 180 | id: string; |
no test coverage detected