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 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-connectpackage is installed too
@todo
- Declare
ApiClientproperly - 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)
- 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