{"action":"created","issue":{"url":"https://api.github.com/repos/typings/registry/issues/160","repository_url":"https://api.github.com/repos/typings/registry","labels_url":"https://api.github.com/repos/typings/registry/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/typings/registry/issues/160/comments","events_url":"https://api.github.com/repos/typings/registry/issues/160/events","html_url":"https://github.com/typings/registry/pull/160","id":137419803,"number":160,"title":"Fix empty module export.","user":{"login":"unional","id":3254987,"avatar_url":"https://avatars.githubusercontent.com/u/3254987?v=3","gravatar_id":"","url":"https://api.github.com/users/unional","html_url":"https://github.com/unional","followers_url":"https://api.github.com/users/unional/followers","following_url":"https://api.github.com/users/unional/following{/other_user}","gists_url":"https://api.github.com/users/unional/gists{/gist_id}","starred_url":"https://api.github.com/users/unional/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unional/subscriptions","organizations_url":"https://api.github.com/users/unional/orgs","repos_url":"https://api.github.com/users/unional/repos","events_url":"https://api.github.com/users/unional/events{/privacy}","received_events_url":"https://api.github.com/users/unional/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-03-01T00:06:32Z","updated_at":"2016-03-01T01:51:14Z","closed_at":"2016-03-01T01:00:51Z","pull_request":{"url":"https://api.github.com/repos/typings/registry/pulls/160","html_url":"https://github.com/typings/registry/pull/160","diff_url":"https://github.com/typings/registry/pull/160.diff","patch_url":"https://github.com/typings/registry/pull/160.patch"},"body":"@blakeembrey, when I run `ts-node test/test.ts`, I got this error:\n```sh\n⨯ Unable to compile TypeScript\n\nbundle.d.ts (460,5): Duplicate identifier 'should'. (2300)\nlib/Chai.d.ts (29,5): Duplicate identifier 'should'. (2300)\n```\n\nThe typings seems to be generated correctly (I tried it with `typings i file:typings.sjon`).\n\nSeems like ts-node will compile based on `tsconfig.json`, which has reference to `index.d.ts` (thus loading `lib/Chai.d.ts`), and then run `test/test.ts` (thus loading `bundle.d.ts`).\n\nAlso, the seems to be an issue on the global augmentation. If two modules both augment global with the same name (`Object.should` in this case), the compilation fails?"},"comment":{"url":"https://api.github.com/repos/typings/registry/issues/comments/190490847","html_url":"https://github.com/typings/registry/pull/160#issuecomment-190490847","issue_url":"https://api.github.com/repos/typings/registry/issues/160","id":190490847,"user":{"login":"unional","id":3254987,"avatar_url":"https://avatars.githubusercontent.com/u/3254987?v=3","gravatar_id":"","url":"https://api.github.com/users/unional","html_url":"https://github.com/unional","followers_url":"https://api.github.com/users/unional/followers","following_url":"https://api.github.com/users/unional/following{/other_user}","gists_url":"https://api.github.com/users/unional/gists{/gist_id}","starred_url":"https://api.github.com/users/unional/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unional/subscriptions","organizations_url":"https://api.github.com/users/unional/orgs","repos_url":"https://api.github.com/users/unional/repos","events_url":"https://api.github.com/users/unional/events{/privacy}","received_events_url":"https://api.github.com/users/unional/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T01:51:14Z","updated_at":"2016-03-01T01:51:14Z","body":"Don't know how far it goes backward. Just tried 1.7.3. :smile:"}}