Skip to content

Commit 95c8f3a

Browse files
authored
Implements 497 (#513)
* Implemments #505 * Added docs for #505 * Implements #497
1 parent be1c2fc commit 95c8f3a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ compilation options in your `tsconfig.json` file.
7070
{
7171
"compilerOptions": {
7272
"target": "es5",
73-
"lib": ["es6", "dom"],
73+
"lib": ["es6"],
7474
"types": ["reflect-metadata"],
7575
"module": "commonjs",
7676
"moduleResolution": "node",

test/inversify.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ describe("InversifyJS", () => {
933933
expect(ninja.katana.hit()).eql("cut!");
934934
done();
935935
})
936-
.catch((e) => { console.log(e); });
936+
.catch((e) => { /* do nothing */ });
937937

938938
});
939939

wiki/installation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ npm install [email protected] reflect-metadata --save
77
```
88

99
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.
10+
1011
```js
1112
{
1213
"compilerOptions": {
1314
"target": "es5",
14-
"lib": ["es6", "dom"],
15+
"lib": ["es6"],
1516
"types": ["reflect-metadata"],
1617
"module": "commonjs",
1718
"moduleResolution": "node",

0 commit comments

Comments
 (0)