Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
Add note about TS
Browse files Browse the repository at this point in the history
  • Loading branch information
btd committed Jul 26, 2018
1 parent 9748ae6 commit 1ab1661
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Readme.md
Expand Up @@ -70,6 +70,14 @@ someAsyncTask(foo, function(err, result){
should(10).be.exactly(5).and.be.a.Number();
```

3. For TypeScript users:

```js
import * as should from 'should';

(0).should.be.Number();
```

## In browser

Well, even when browsers by complaints of authors have 100% es5 support, it does not mean it has no bugs. Please see [wiki](https://github.com/shouldjs/should.js/wiki/Known-Bugs) for known bugs.
Expand Down

0 comments on commit 1ab1661

Please sign in to comment.