- An NPM package for
accounts.google.com/gsi/clientdoes not exist, at least not yet. The only way of using it is via script tag. - In addition to @types/google-one-tap from jameshfisher’s answer, there is also @types/google.accounts.
Both google-one-tap or google.accounts can be added to tsconfig types.
tsconfig.json
"types": ["google-one-tap", "google.accounts"]