UNPKG

@automattic/calypso-products

Version:

This module contains information about the various products sold within calypso, such as product slugs, plan intervals, etc.

4 lines (3 loc) 124 B
export function isThemePurchase( purchase: { productType: string } ): boolean { return 'theme' === purchase.productType; }