{"action":"created","issue":{"url":"https://api.github.com/repos/stevemao/left-pad/issues/47","repository_url":"https://api.github.com/repos/stevemao/left-pad","labels_url":"https://api.github.com/repos/stevemao/left-pad/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/stevemao/left-pad/issues/47/comments","events_url":"https://api.github.com/repos/stevemao/left-pad/issues/47/events","html_url":"https://github.com/stevemao/left-pad/pull/47","id":265036422,"number":47,"title":"Added Typescript Typing","user":{"login":"PaitoAnderson","id":4108718,"avatar_url":"https://avatars0.githubusercontent.com/u/4108718?v=4","gravatar_id":"","url":"https://api.github.com/users/PaitoAnderson","html_url":"https://github.com/PaitoAnderson","followers_url":"https://api.github.com/users/PaitoAnderson/followers","following_url":"https://api.github.com/users/PaitoAnderson/following{/other_user}","gists_url":"https://api.github.com/users/PaitoAnderson/gists{/gist_id}","starred_url":"https://api.github.com/users/PaitoAnderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaitoAnderson/subscriptions","organizations_url":"https://api.github.com/users/PaitoAnderson/orgs","repos_url":"https://api.github.com/users/PaitoAnderson/repos","events_url":"https://api.github.com/users/PaitoAnderson/events{/privacy}","received_events_url":"https://api.github.com/users/PaitoAnderson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-12T18:12:14Z","updated_at":"2017-11-20T02:24:13Z","closed_at":"2017-11-11T22:03:40Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/stevemao/left-pad/pulls/47","html_url":"https://github.com/stevemao/left-pad/pull/47","diff_url":"https://github.com/stevemao/left-pad/pull/47.diff","patch_url":"https://github.com/stevemao/left-pad/pull/47.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/stevemao/left-pad/issues/comments/345574812","html_url":"https://github.com/stevemao/left-pad/pull/47#issuecomment-345574812","issue_url":"https://api.github.com/repos/stevemao/left-pad/issues/47","id":345574812,"user":{"login":"Crazometer","id":5444465,"avatar_url":"https://avatars3.githubusercontent.com/u/5444465?v=4","gravatar_id":"","url":"https://api.github.com/users/Crazometer","html_url":"https://github.com/Crazometer","followers_url":"https://api.github.com/users/Crazometer/followers","following_url":"https://api.github.com/users/Crazometer/following{/other_user}","gists_url":"https://api.github.com/users/Crazometer/gists{/gist_id}","starred_url":"https://api.github.com/users/Crazometer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crazometer/subscriptions","organizations_url":"https://api.github.com/users/Crazometer/orgs","repos_url":"https://api.github.com/users/Crazometer/repos","events_url":"https://api.github.com/users/Crazometer/events{/privacy}","received_events_url":"https://api.github.com/users/Crazometer/received_events","type":"User","site_admin":false},"created_at":"2017-11-20T02:24:13Z","updated_at":"2017-11-20T02:24:13Z","author_association":"NONE","body":"If this broke your project and you use typescript then you should use\r\n\r\n`import leftPad = require('left-pad');`\r\n\r\ninstead of\r\n\r\n`import * as leftPad from 'left-pafd';`\r\n\r\nRelated:\r\nhttps://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require\r\nhttps://stackoverflow.com/questions/40294870/module-exports-vs-export-default-in-node-js-and-es6"}}
{"actor":{"display_login":"Crazometer"}}