{"action":"opened","issue":{"url":"https://api.github.com/repos/inversify/InversifyJS/issues/51","labels_url":"https://api.github.com/repos/inversify/InversifyJS/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/inversify/InversifyJS/issues/51/comments","events_url":"https://api.github.com/repos/inversify/InversifyJS/issues/51/events","html_url":"https://github.com/inversify/InversifyJS/issues/51","id":128331823,"number":51,"title":"Inversify does not run?  Error TS2656","user":{"login":"RichardJECooke","id":5468805,"avatar_url":"https://avatars.githubusercontent.com/u/5468805?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardJECooke","html_url":"https://github.com/RichardJECooke","followers_url":"https://api.github.com/users/RichardJECooke/followers","following_url":"https://api.github.com/users/RichardJECooke/following{/other_user}","gists_url":"https://api.github.com/users/RichardJECooke/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardJECooke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardJECooke/subscriptions","organizations_url":"https://api.github.com/users/RichardJECooke/orgs","repos_url":"https://api.github.com/users/RichardJECooke/repos","events_url":"https://api.github.com/users/RichardJECooke/events{/privacy}","received_events_url":"https://api.github.com/users/RichardJECooke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-23T14:39:18Z","updated_at":"2016-01-23T14:39:18Z","closed_at":null,"body":"I've downloaded the latest version of Inversify (1.2.0) and have Typescript (1.7.3).  But when trying to use your documentation to change just two files in my project and compile with tsc I get:\r\n\r\n*error TS2656: Exported external package typings file 'node_modules/inversify/type_definitions/inversify.d.ts' is not a module. Please contact the package author to update the package definition.*\r\n\r\nIs there a typo in the latest version of Inversify perhaps?\r\n\r\n---\r\nI'm referencing Inversify like this:\r\n`/// <reference path=\"../../node_modules/inversify/type_definitions/inversify.d.ts\" />`\r\n\r\nand using it like this:\r\n\r\n```\r\nimport { TypeBinding, Kernel, TypeBindingScopeEnum } from \"inversify\";\r\nimport IDatabase = require('../database/iDatabase');\r\nimport Database = require('../database/Database');\r\n\r\nclass Ioc\r\n{\r\n\tpublic container : Kernel;\r\n\tconstructor()\r\n\t{\r\n\t\tlet c = new Kernel();\r\n\t\tc.bind(new TypeBinding<IDatabase>(\"IDatabase\", Database, TypeBindingScopeEnum.Transient));\r\n\t\tthis.container = c;\r\n\t}\r\n}\r\nexport = Ioc;\r\n```"}}