mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[REPO] add tests attribution
This commit is contained in:
parent
33c62e0f7f
commit
b4f72c033b
@ -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"))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user