@ng-web-apis/payment-request
Version:
This is a library for declarative use of Payment Request API with Angular
12 lines (11 loc) • 358 B
TypeScript
import { InjectionToken } from '@angular/core';
declare global {
interface Window {
PaymentRequest: PaymentRequest;
}
}
export declare const WA_PAYMENT_REQUEST_SUPPORT: InjectionToken<boolean>;
/**
* @deprecated: drop in v5.0, use {@link WA_PAYMENT_REQUEST_SUPPORT}
*/
export declare const PAYMENT_REQUEST_SUPPORT: InjectionToken<boolean>;