Skip to content

Commit

Permalink
Implements 497 (#513)
Browse files Browse the repository at this point in the history
* Implemments #505

* Added docs for #505

* Implements #497
  • Loading branch information
remojansen authored Mar 22, 2017
1 parent be1c2fc commit 95c8f3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ compilation options in your `tsconfig.json` file.
{
"compilerOptions": {
"target": "es5",
"lib": ["es6", "dom"],
"lib": ["es6"],
"types": ["reflect-metadata"],
"module": "commonjs",
"moduleResolution": "node",
Expand Down
2 changes: 1 addition & 1 deletion test/inversify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ describe("InversifyJS", () => {
expect(ninja.katana.hit()).eql("cut!");
done();
})
.catch((e) => { console.log(e); });
.catch((e) => { /* do nothing */ });

});

Expand Down
3 changes: 2 additions & 1 deletion wiki/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ npm install [email protected] reflect-metadata --save
```

The InversifyJS type definitions are included in the inversify npm package. InversifyJS requires the `experimentalDecorators`, `emitDecoratorMetadata`and `lib` compilation options in your `tsconfig.json` file.

```js
{
"compilerOptions": {
"target": "es5",
"lib": ["es6", "dom"],
"lib": ["es6"],
"types": ["reflect-metadata"],
"module": "commonjs",
"moduleResolution": "node",
Expand Down

0 comments on commit 95c8f3a

Please sign in to comment.