DefinitelyTyped/types/square-connect
..
index.d.ts
README.md
square-connect-tests.ts
tsconfig.json
tslint.json

Type definitions for square-connect

This is an unofficial package of type definitions for square-connect which is mostly generated automatically by swagger-codegen. In case you are facing some issues - feel free to contribute or open an issue.

Installation

npm i @types/square-connect

make sure that square-connect package is installed too

@todo

  • Declare ApiClient properly
  • Declare methods definition for missing classes (ex: export class SomeApi {})
  • Change anys in methods definitions (ex: doSomething(...args: Array<any>)) regarding the docs

Contribution

  • Clone the DefinitelyTyped project
    • or update if you already have it (git fetch upstream && git reset --hard upstream/master)
  • Add your changes and commit them (in case of error in api.json too, let the Square team know about it)
  • Test your changes:
    • npm run lint square-connect
    • npm run test