DefinitelyTyped/types/ospec
Már Örlygsson 4b29f4bd1d feat: Add type definitions for npm module ospec (#37645)
* feat: Add type definitions for npm module `ospec`

* Apply suggestions from code review

Co-Authored-By: Isiah Meadows <contact@isiahmeadows.com>

* fix: Disable no-unnecessary-generics for dummy o.spy() generation

* fix: Rename namespace to match thew global export's name

* fix: Properly guard against non-newable functions

...and relax TypeScript version requirement to 3.1

* feat: Simplify the assertion signature

* fix: Error in `tslint:disable` syntax

* feat: Make .notEquals() and .notDeepEquals() type safe

* feat: Update the `Definer` type...

* Allow tests to return any `PromiseLike` objects.
* Disallow anything but Error and null as argument for `done()`

* feat: Add tests for Definer` functions returning promises

* style: Prefer `import o = require('')` over `import o from` in test file
2019-08-20 12:00:30 -07:00
..
index.d.ts
ospec-tests.ts
tsconfig.json
tslint.json