{"action":"created","issue":{"url":"https://api.github.com/repos/urish/angular2-moment/issues/103","repository_url":"https://api.github.com/repos/urish/angular2-moment","labels_url":"https://api.github.com/repos/urish/angular2-moment/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/urish/angular2-moment/issues/103/comments","events_url":"https://api.github.com/repos/urish/angular2-moment/issues/103/events","html_url":"https://github.com/urish/angular2-moment/issues/103","id":183919074,"number":103,"title":"Module 'moment' has no exported member 'UnitOfTime'","user":{"login":"maxmumford","id":3797896,"avatar_url":"https://avatars.githubusercontent.com/u/3797896?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmumford","html_url":"https://github.com/maxmumford","followers_url":"https://api.github.com/users/maxmumford/followers","following_url":"https://api.github.com/users/maxmumford/following{/other_user}","gists_url":"https://api.github.com/users/maxmumford/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmumford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmumford/subscriptions","organizations_url":"https://api.github.com/users/maxmumford/orgs","repos_url":"https://api.github.com/users/maxmumford/repos","events_url":"https://api.github.com/users/maxmumford/events{/privacy}","received_events_url":"https://api.github.com/users/maxmumford/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-19T10:05:55Z","updated_at":"2016-11-10T15:13:04Z","closed_at":"2016-10-19T10:44:10Z","body":"**Description of the Issue and Steps to Reproduce:**\n\nI'm getting the error `ERROR in [default] /Users/max/project/node_modules/angular2-moment/difference.pipe.d.ts:4:91` when compiling my project.\n\nDuplicate exists #91 but installing typescript definitions from typings, and from @types/moment did not fix the issue.\n\n**Please describe the issue and steps to reproduce, preferably with a code sample / plunker:**\n\nI've installed the pikaday datepicker that relies on the moment typescript definition file to export several classes, one of which is UnitOfTime. \n\nAs far as I can tell, my problem comes from the fact that the typescript definition file for moment included in angular2-moment doesn't export UnitOfTime. \n\n**Environment:**\n- Angular version? \n\n2.0.0-beta.5\n- TypeScript version?\n\n2.0.0\n- `moment` version?\n\n\"moment\": \"^2.15.0\",\n- Are you using `moment-timezone`? \n\nno\n- Are you using the angular-cli? \n\nnp\n- Using Rollup/Webpack/System.js/Ionic/similar? \n\nwebpack\n"},"comment":{"url":"https://api.github.com/repos/urish/angular2-moment/issues/comments/259715165","html_url":"https://github.com/urish/angular2-moment/issues/103#issuecomment-259715165","issue_url":"https://api.github.com/repos/urish/angular2-moment/issues/103","id":259715165,"user":{"login":"artdias90","id":5451646,"avatar_url":"https://avatars.githubusercontent.com/u/5451646?v=3","gravatar_id":"","url":"https://api.github.com/users/artdias90","html_url":"https://github.com/artdias90","followers_url":"https://api.github.com/users/artdias90/followers","following_url":"https://api.github.com/users/artdias90/following{/other_user}","gists_url":"https://api.github.com/users/artdias90/gists{/gist_id}","starred_url":"https://api.github.com/users/artdias90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artdias90/subscriptions","organizations_url":"https://api.github.com/users/artdias90/orgs","repos_url":"https://api.github.com/users/artdias90/repos","events_url":"https://api.github.com/users/artdias90/events{/privacy}","received_events_url":"https://api.github.com/users/artdias90/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T15:13:04Z","updated_at":"2016-11-10T15:13:04Z","body":"thanks @kfurmann it works for me. "}}
{"actor":{"display_login":"artdias90"}}