Skip to content

Commit

Permalink
Fix typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieur-z committed Aug 20, 2020
1 parent 4585a46 commit 7322873
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/my-sites/plans-v2/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ export function buildCardFeaturesFromFeatureKeys(
if ( category ) {
result.push( {
heading: category.getTitle(),
list: subfeatures.map( ( f ) => buildCardFeatureItemFromFeatureKey( f, options ) ),
list: subfeatures.map( ( f: JetpackPlanCardFeature ) =>
buildCardFeatureItemFromFeatureKey( f, options )
),
} as SelectorProductFeaturesSection );
}
} );
Expand Down

0 comments on commit 7322873

Please sign in to comment.