@square/web-payments-sdk-types
TypeScript icon, indicating that this package has built-in type declarations

1.55.1 • Public • Published

@square/web-payments-sdk-types

TypeScript type definitions for the Web Payments SDK.

The types defined in this package are documented in the Developer Reference for Web Payments SDK.

Usage

This package provides declaration files (d.ts). Once this package is added to the typeRoots as part of the tsconfig.json, initiating a payments instance using window.Square.payments will provide typechecking and autocompletion automatically. Developers can also import any type definition listed in the developer reference.

LICENSE

Copyright 2023 Block, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Readme

Keywords

none

Package Sidebar

Install

npm i @square/web-payments-sdk-types

Weekly Downloads

12,233

Version

1.55.1

License

Apache-2.0

Unpacked Size

157 kB

Total Files

55

Last publish

Collaborators

  • devonsquare
  • plinio-square
  • artemchubaryan
  • akolyte01
  • amoghk
  • jguze-sq
  • joanc
  • square-owner
  • adrw
  • square-developers
  • matahwoosh
  • hirokiosame
  • dpapastrat
  • linnea
  • pretzelhammer
  • alexandersmanning
  • sq-web-payments-team