Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Pay TypeScript definitions

I have been looking at the new Google Pay API for the web and I want to implement it in a website.

I was following this tutorial, but my script is in TypeScript.

Does anyone know if any TypeScript definitions exist for the new Google Pay for the web API?

like image 470
Andrew Davis Avatar asked Sep 27 '26 06:09

Andrew Davis


1 Answers

Yes, there is @types/googlepay as part of the DefinitelyTyped project.

Assuming you use npm:

npm i -D @types/googlepay
like image 191
fstanis Avatar answered Sep 28 '26 21:09

fstanis