mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-02 16:20:07 +00:00
[REPO] add tests attribution
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
/// <reference path="index.d.ts" />
|
||||
/// <reference path="../promise" />
|
||||
|
||||
/// Code examples derived from
|
||||
/// https://developers.google.com/web/fundamentals/discovery-and-monetization/payment-request/
|
||||
|
||||
function makeRequest() {
|
||||
if (!window.PaymentRequest) {
|
||||
return Promise.reject(new Error("PaymentRequest not available"))
|
||||
|
||||
Reference in New Issue
Block a user