Skip to content

Commit

Permalink
Merge pull request #12974 from mozilla/ts-error-support-panel-pr-12890
Browse files Browse the repository at this point in the history
fix(support-panel): remove AbbrevPlayPurchase type
  • Loading branch information
biancadanforth authored May 20, 2022
2 parents 829c770 + e69a4fa commit ef93639
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import {
AbbrevPlayPurchase,
MozillaSubscriptionTypes,
} from 'fxa-shared/subscriptions/types';
import { MozillaSubscriptionTypes } from 'fxa-shared/subscriptions/types';

// Note that these `*.Response` interfaces are purely for access to known
// response keys and not an attempt to validate the return payloads from
Expand All @@ -22,7 +19,11 @@ interface WebSubscription {
subscription_id: string;
}

type PlaySubscription = Omit<AbbrevPlayPurchase, 'expiry_time_millis'> & {
type PlaySubscription = {
auto_renewing: boolean;
cancel_reason?: number;
package_name: string;
sku: string;
product_id: string;
expiry: string;
};
Expand Down

0 comments on commit ef93639

Please sign in to comment.