-
Notifications
You must be signed in to change notification settings - Fork 726
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5d4098
commit eb07f85
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,13 +53,15 @@ InversifyJS has been developed with 4 main goals: | |
You can get the latest release and the type definitions using npm: | ||
|
||
``` | ||
npm install [email protected] reflect-metadata --save | ||
npm install [email protected] inversify-dts reflect-metadata --save | ||
``` | ||
|
||
You will also need the type definitions files for inversify and reflect-metadata: | ||
You will also need the type definitions files for inversify and reflect-metadata. | ||
|
||
``` | ||
npm install inversify-dts --save-dev | ||
The InversifyJS type definitions are included in the inversify-dts npm package: | ||
|
||
```ts | ||
/// <reference path="node_modules/inversify-dts/inversify/inversify.d.ts" /> | ||
``` | ||
|
||
The reflect-metadata type definitions are included in the npm package: | ||
|