diff --git a/README.md b/README.md index 8f51848f5..aa4818fdc 100644 --- a/README.md +++ b/README.md @@ -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", diff --git a/test/inversify.test.ts b/test/inversify.test.ts index 133f2c48e..6f51ada34 100644 --- a/test/inversify.test.ts +++ b/test/inversify.test.ts @@ -933,7 +933,7 @@ describe("InversifyJS", () => { expect(ninja.katana.hit()).eql("cut!"); done(); }) - .catch((e) => { console.log(e); }); + .catch((e) => { /* do nothing */ }); }); diff --git a/wiki/installation.md b/wiki/installation.md index c5df45475..067c29f74 100644 --- a/wiki/installation.md +++ b/wiki/installation.md @@ -7,11 +7,12 @@ npm install inversify@2.0.0-rc.14 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",