mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
|
…
|
||
|---|---|---|
| .. | ||
| 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. Initially, it was generated by swagger-codegen but currently it requires to be updated manually and takes a lot of time. Hence, you may encounter typings update delays in contrast to the official library.
To keep me motivated you can buy me a beer 😉
Installation
npm i @types/square-connect
in @types/square-connect@3.x all API-v1 related typings were removed, if you need them - install @types/square-connect@2.x
@todo
- Declare methods definition for missing classes (ex:
export class SomeApi {}) - Change
anys in methods definitions (ex:doSomething(...args: Array<any>)) regarding the docs
Contribution
If you are facing some issues or you have an idea how to improve typings - feel free to contribute or open an issue.
- Clone the DefinitelyTyped project
- or update if you already have it (
git fetch upstream && git reset --hard upstream/master)
- or update if you already have it (
- 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-connectnpm run test