Skip to content

Commit 0907adb

Browse files
committed
Merge branch 'fix/typings'
Merges pull request #4
2 parents 5c97b7b + 26e030c commit 0907adb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,11 @@ function will also be available globally as `chaiIterator`.
201201

202202
[TypeScript][typescript] declarations are included in the package. To use them,
203203
ensure Chai Iterator is installed with [npm][npm], then install the declarations
204-
and their dependencies via [typings][typings].
204+
and their dependencies via [typings][typings]. And be sure to install the
205+
declarations for [chai][chai-typings].
205206

206207
```sh
207-
typings install --save-dev npm:chai-iterator
208+
typings install --save-dev npm~chai npm:chai-iterator
208209
```
209210

210211
In the [compiler options][compiler-options], set `"target"` to `"es6"`, or at

chai-iterator.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import "chai";
1+
import "~chai/lib/Assert";
2+
import "~chai/lib/Assertion";
23

34
declare module "~chai/lib/Assert" {
45

0 commit comments

Comments
 (0)