{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/4732","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/4732/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/4732/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/4732/events","html_url":"https://github.com/serverless/serverless/pull/4732","id":295535796,"number":4732,"title":"Enable TypeScript file source map support in TypeScript template","user":{"login":"sime","id":216917,"avatar_url":"https://avatars0.githubusercontent.com/u/216917?v=4","gravatar_id":"","url":"https://api.github.com/users/sime","html_url":"https://github.com/sime","followers_url":"https://api.github.com/users/sime/followers","following_url":"https://api.github.com/users/sime/following{/other_user}","gists_url":"https://api.github.com/users/sime/gists{/gist_id}","starred_url":"https://api.github.com/users/sime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sime/subscriptions","organizations_url":"https://api.github.com/users/sime/orgs","repos_url":"https://api.github.com/users/sime/repos","events_url":"https://api.github.com/users/sime/events{/privacy}","received_events_url":"https://api.github.com/users/sime/received_events","type":"User","site_admin":false},"labels":[{"id":484058097,"url":"https://api.github.com/repos/serverless/serverless/labels/stage/in-review","name":"stage/in-review","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-08T14:39:39Z","updated_at":"2018-02-28T10:29:56Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/serverless/serverless/pulls/4732","html_url":"https://github.com/serverless/serverless/pull/4732","diff_url":"https://github.com/serverless/serverless/pull/4732.diff","patch_url":"https://github.com/serverless/serverless/pull/4732.patch"},"body":"\r\n\r\n## What did you implement:\r\n\r\nCloses n/a\r\n\r\nCurrently source maps in the TypeScript template detail the error in the compiled JavaScript file. This PR supports sourcemaps for the original TypeScript file.\r\n\r\n## How did you implement it:\r\n\r\nAdd `source-map-support` as a dependency, and invoke it at the top of the file.\r\n\r\n## How can we verify it:\r\n\r\nThrow an exception in TypeScript and see the stacktrace reference an .ts file.\r\n\r\n## Todos:\r\n\r\n- [ ] Write tests\r\n- [ ] Write documentation\r\n- [ ] Fix linting errors\r\n- [ ] Make sure code coverage hasn't dropped\r\n- [ ] Provide verification config / commands / resources\r\n- [ ] Enable \"Allow edits from maintainers\" for this PR\r\n- [ ] Update the messages below\r\n\r\n***Is this ready for review?:*** YES\r\n***Is it a breaking change?:*** NO\r\n"},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/369196520","html_url":"https://github.com/serverless/serverless/pull/4732#issuecomment-369196520","issue_url":"https://api.github.com/repos/serverless/serverless/issues/4732","id":369196520,"user":{"login":"sime","id":216917,"avatar_url":"https://avatars0.githubusercontent.com/u/216917?v=4","gravatar_id":"","url":"https://api.github.com/users/sime","html_url":"https://github.com/sime","followers_url":"https://api.github.com/users/sime/followers","following_url":"https://api.github.com/users/sime/following{/other_user}","gists_url":"https://api.github.com/users/sime/gists{/gist_id}","starred_url":"https://api.github.com/users/sime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sime/subscriptions","organizations_url":"https://api.github.com/users/sime/orgs","repos_url":"https://api.github.com/users/sime/repos","events_url":"https://api.github.com/users/sime/events{/privacy}","received_events_url":"https://api.github.com/users/sime/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T10:29:56Z","updated_at":"2018-02-28T10:29:56Z","author_association":"CONTRIBUTOR","body":"Pinging previous TypeScript contributors: @franciscocpg, @drexler, @hassankhan"}}
{"actor":{"display_login":"sime"}}