mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-02 03:34:32 +00:00
Chai allows passing a single argument to its increase,
decrease and change tests:
```ts
let y;
expect(() => { y += 1 }).to.increase(() => y);
```
The type definitions of PropertyChange, used by the three
tests mentionds, did not allow passing a single argument.