I am trying to use Google Pay Passes with Typescript. There is a package to define the type: npm install --save @types/gapi
but I don't have any method to use
gapi.savetoandroidpay.render("dom-container",{
"jwt": "JWT",
"onsuccess": "successHandler",
"onfailure": "failureHandler"
});
Am I using the wrong package or is this missing?