Open to submitting a pr here but haven't dug into where the definitions live in the code yet.
Monky's fixture functionality raise problems for js code intellisense and the typescript compiler because it does not correctly indicate optional parameters. Below you will see 2 examples from my code base.
I believe we can solve these by updating the jsdoc documentation to overload functions for 2 parameters when they are used as promises and by indicating that userParams is optional.


Is there any thought to generate a index.d.ts file for this repo or adopt typescript in any fashion?
Open to submitting a pr here but haven't dug into where the definitions live in the code yet.
Monky's fixture functionality raise problems for js code intellisense and the typescript compiler because it does not correctly indicate optional parameters. Below you will see 2 examples from my code base.
I believe we can solve these by updating the jsdoc documentation to overload functions for 2 parameters when they are used as promises and by indicating that
userParamsis optional.Is there any thought to generate a
index.d.tsfile for this repo or adopt typescript in any fashion?