These are chat archives for DefinitelyTyped/DefinitelyTyped

Jul 2015
Maciej Kowalski
Jul 15 2015 09:31
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
Jul 15 2015 23:30
@fkowal my brain has failed to parse that code sample