These are chat archives for DefinitelyTyped/DefinitelyTyped

15th
Jul 2015
Maciej Kowalski
@fkowal
Jul 15 2015 09:31
hello
i am trying to figure out how to write a .d.ts for cucumberjs
my module in js looks like
```
module.export = function() {
this.Given(/somereg/, function() {});
the exported function is called with this set to an object { Given: function().., Then(): ... etc}
Basarat Ali Syed
@basarat
Jul 15 2015 23:30
@fkowal my brain has failed to parse that code sample