tj / should.js

BDD style assertions for node.js -- test framework agnostic
MIT License
2.75k stars 194 forks source link

Issue with Typescript #230

Open shamoons opened 6 years ago

shamoons commented 6 years ago

My error is: Property 'should' does not exist on type 'string[]'.

My code is:

Object.keys(res.body.data).should.containEql('inputs')

What am I doing wrong?