Commit Graph
4 Commits
Author SHA1 Message Date
Tomek Łaziuk 6c4db41530 [sinon-express-mock] express compatibility (#18307)
* express compat

improve typings and make them compatible with express itself

* assert

* assert fix
2017-07-31 14:17:23 -07:00
Andy af8b0d1294 FIx new lint errors (#18382) 2017-07-25 10:34:23 -07:00
Josh Goldberg 2bd01e84f7 Expanded Sinon's createStubInstance to allow a TType generic (#16730)
* Expanded Sinon's createStubInstance types

* Defaulted createStubInstance behavior to not use the better types

TType gets inferred to `{}` by default. Odd.

* Removed commented out typings

* Removed unnecessary imports from i18next-tests

* Added TS 2.2 notices

* Bumped TS versions to 2.3

* Consolidated optional types for StubbableType

* Update index.d.ts
2017-06-03 15:04:06 -07:00
Jared Chapiewsky 297a4960e5 add types for sinon-express-mock package (#16268)
* add types for sinon-express-mock package

* remove sinon-express-mock package.json file
2017-05-03 12:10:12 -07:00