apollographql / apollographql/graphql-subscriptions
Bad Definitely Typed definition for Sinon is breaking the build
Open
bug
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
The build is outputting the following error, this is referenced in DefinitelyTyped/DefinitelyTyped#30657
```
node_modules/@types/sinon/index.d.ts:41:20 - error TS2370: A rest parameter must be of an array type.
41 calledWith(...args: TArgs): boolean;
~~~~~~~~~~~~~~
node_modules/@types/sinon/index.d.ts:45:27 - error TS2370: A rest parameter must be of an array type.
45 calledWithExactly(...args: TArgs): boolean;
~~~~~~~~~~~~~~
```
Contributor guide
Assessment
This issue has not been assessed yet.