Skip to content

Commit

Permalink
Added note about common issue (#262 #266)
Browse files Browse the repository at this point in the history
  • Loading branch information
remojansen committed Jun 23, 2016
1 parent 7b551a5 commit 5a51b0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ The relect-metadata polyfill can be importing as follows:
import "relect-metadata";
```

> **The `relect-metadata` polyfill should be be imported only once in your entire application** because the Reflect object is mean to be a global singleton. More details about this can be found [here](https://github.com/inversify/InversifyJS/issues/262#issuecomment-227593844).
InversifyJS requires the following TypeScript compilation options in your `tsconfig.json` file:

```
Expand Down

0 comments on commit 5a51b0c

Please sign in to comment.