{"action":"created","issue":{"url":"https://api.github.com/repos/swimlane/angular2-data-table/issues/55","repository_url":"https://api.github.com/repos/swimlane/angular2-data-table","labels_url":"https://api.github.com/repos/swimlane/angular2-data-table/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/swimlane/angular2-data-table/issues/55/comments","events_url":"https://api.github.com/repos/swimlane/angular2-data-table/issues/55/events","html_url":"https://github.com/swimlane/angular2-data-table/issues/55","id":171114859,"number":55,"title":"angular2-data-table.d.ts' is not a module. Please contact the package author to update the package definition","user":{"login":"katsuki-nakatani","id":6699802,"avatar_url":"https://avatars.githubusercontent.com/u/6699802?v=3","gravatar_id":"","url":"https://api.github.com/users/katsuki-nakatani","html_url":"https://github.com/katsuki-nakatani","followers_url":"https://api.github.com/users/katsuki-nakatani/followers","following_url":"https://api.github.com/users/katsuki-nakatani/following{/other_user}","gists_url":"https://api.github.com/users/katsuki-nakatani/gists{/gist_id}","starred_url":"https://api.github.com/users/katsuki-nakatani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katsuki-nakatani/subscriptions","organizations_url":"https://api.github.com/users/katsuki-nakatani/orgs","repos_url":"https://api.github.com/users/katsuki-nakatani/repos","events_url":"https://api.github.com/users/katsuki-nakatani/events{/privacy}","received_events_url":"https://api.github.com/users/katsuki-nakatani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swimlane/angular2-data-table/labels/Bug","name":"Bug","color":"ee0701"},{"url":"https://api.github.com/repos/swimlane/angular2-data-table/labels/Investigate","name":"Investigate","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"amcdnl","id":227909,"avatar_url":"https://avatars.githubusercontent.com/u/227909?v=3","gravatar_id":"","url":"https://api.github.com/users/amcdnl","html_url":"https://github.com/amcdnl","followers_url":"https://api.github.com/users/amcdnl/followers","following_url":"https://api.github.com/users/amcdnl/following{/other_user}","gists_url":"https://api.github.com/users/amcdnl/gists{/gist_id}","starred_url":"https://api.github.com/users/amcdnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcdnl/subscriptions","organizations_url":"https://api.github.com/users/amcdnl/orgs","repos_url":"https://api.github.com/users/amcdnl/repos","events_url":"https://api.github.com/users/amcdnl/events{/privacy}","received_events_url":"https://api.github.com/users/amcdnl/received_events","type":"User","site_admin":false},"assignees":[{"login":"amcdnl","id":227909,"avatar_url":"https://avatars.githubusercontent.com/u/227909?v=3","gravatar_id":"","url":"https://api.github.com/users/amcdnl","html_url":"https://github.com/amcdnl","followers_url":"https://api.github.com/users/amcdnl/followers","following_url":"https://api.github.com/users/amcdnl/following{/other_user}","gists_url":"https://api.github.com/users/amcdnl/gists{/gist_id}","starred_url":"https://api.github.com/users/amcdnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcdnl/subscriptions","organizations_url":"https://api.github.com/users/amcdnl/orgs","repos_url":"https://api.github.com/users/amcdnl/repos","events_url":"https://api.github.com/users/amcdnl/events{/privacy}","received_events_url":"https://api.github.com/users/amcdnl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":36,"created_at":"2016-08-15T06:21:30Z","updated_at":"2016-08-24T16:32:37Z","closed_at":null,"body":"release/angular2-data-table.d.ts \r\n\r\nline 483\r\nadd prefix keyword export is compile success \r\n\r\n`\r\nexport declare module \"angular2-data-table\"\r\n`\r\n\r\nmy environment is angular-cli"},"comment":{"url":"https://api.github.com/repos/swimlane/angular2-data-table/issues/comments/242128474","html_url":"https://github.com/swimlane/angular2-data-table/issues/55#issuecomment-242128474","issue_url":"https://api.github.com/repos/swimlane/angular2-data-table/issues/55","id":242128474,"user":{"login":"hwupu","id":4941693,"avatar_url":"https://avatars.githubusercontent.com/u/4941693?v=3","gravatar_id":"","url":"https://api.github.com/users/hwupu","html_url":"https://github.com/hwupu","followers_url":"https://api.github.com/users/hwupu/followers","following_url":"https://api.github.com/users/hwupu/following{/other_user}","gists_url":"https://api.github.com/users/hwupu/gists{/gist_id}","starred_url":"https://api.github.com/users/hwupu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwupu/subscriptions","organizations_url":"https://api.github.com/users/hwupu/orgs","repos_url":"https://api.github.com/users/hwupu/repos","events_url":"https://api.github.com/users/hwupu/events{/privacy}","received_events_url":"https://api.github.com/users/hwupu/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T16:32:37Z","updated_at":"2016-08-24T16:32:37Z","body":"As @ben-go mentioned, I was able to resolve `error TS1084: Invalid 'reference' directive syntax.` by switching to Typescript 2\r\n\r\nAs my understanding, typescript 2 is still under beta, so for the one who are willing to take risks, here are my steps:\r\n1. `npm install --save-dev typescript@beta`\r\n2. `npm install --save-dev @types/core-js @types/jasmine @types/node`\r\n3. `rm -r typings*` **Caution!: I did this to remove old definitions that are no longer needed.**\r\n4. remove `\"postinstall\": \"typings install\"` in `packages.json` as it is no longer needed also.\r\n5. add those to `tsconfig.json`:\r\n```\r\n\"compilerOptions\": {\r\n    ...\r\n    \"types\": [\r\n        \"core-js\",\r\n        \"jasmine\",\r\n        \"node\"\r\n    ]\r\n}\r\n```"}}
{"actor":{"display_login":"hwupu"}}