{"action":"created","issue":{"url":"https://api.github.com/repos/bcoe/nyc/issues/176","repository_url":"https://api.github.com/repos/bcoe/nyc","labels_url":"https://api.github.com/repos/bcoe/nyc/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/bcoe/nyc/issues/176/comments","events_url":"https://api.github.com/repos/bcoe/nyc/issues/176/events","html_url":"https://github.com/bcoe/nyc/issues/176","id":137387000,"number":176,"title":"TypeScript support?","user":{"login":"JaKXz","id":2642545,"avatar_url":"https://avatars.githubusercontent.com/u/2642545?v=3","gravatar_id":"","url":"https://api.github.com/users/JaKXz","html_url":"https://github.com/JaKXz","followers_url":"https://api.github.com/users/JaKXz/followers","following_url":"https://api.github.com/users/JaKXz/following{/other_user}","gists_url":"https://api.github.com/users/JaKXz/gists{/gist_id}","starred_url":"https://api.github.com/users/JaKXz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaKXz/subscriptions","organizations_url":"https://api.github.com/users/JaKXz/orgs","repos_url":"https://api.github.com/users/JaKXz/repos","events_url":"https://api.github.com/users/JaKXz/events{/privacy}","received_events_url":"https://api.github.com/users/JaKXz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-29T21:49:18Z","updated_at":"2016-03-14T10:35:48Z","closed_at":null,"body":"When scanning through the issues, there was a hint that theoretically, TypeScript could be possible to instrument and produce coverage for.\r\n\r\nThis is my first guess in my `package.json` for an Angular 2 project using karma:\r\n\r\n```json\r\n  \"scripts\": {\r\n    \"test\": \"npm run lint && nyc karma start\",\r\n    \"lint\": \"tslint './src/**/*.ts'\"\r\n  },\r\n  \"nyc\": {\r\n    \"extensions\": [\r\n      \".ts\"\r\n    ],\r\n    \"exclude\": [\r\n      \"**/*.js\",\r\n      \"**/*.test.ts\",\r\n      \"**/tests.*.ts\" //helper_files_like_'tests.entry.js'\r\n    ]\r\n  },\r\n```\r\n\r\nand I'm just getting an empty table."},"comment":{"url":"https://api.github.com/repos/bcoe/nyc/issues/comments/196247655","html_url":"https://github.com/bcoe/nyc/issues/176#issuecomment-196247655","issue_url":"https://api.github.com/repos/bcoe/nyc/issues/176","id":196247655,"user":{"login":"novemberborn","id":33538,"avatar_url":"https://avatars.githubusercontent.com/u/33538?v=3","gravatar_id":"","url":"https://api.github.com/users/novemberborn","html_url":"https://github.com/novemberborn","followers_url":"https://api.github.com/users/novemberborn/followers","following_url":"https://api.github.com/users/novemberborn/following{/other_user}","gists_url":"https://api.github.com/users/novemberborn/gists{/gist_id}","starred_url":"https://api.github.com/users/novemberborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novemberborn/subscriptions","organizations_url":"https://api.github.com/users/novemberborn/orgs","repos_url":"https://api.github.com/users/novemberborn/repos","events_url":"https://api.github.com/users/novemberborn/events{/privacy}","received_events_url":"https://api.github.com/users/novemberborn/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T10:35:48Z","updated_at":"2016-03-14T10:35:48Z","body":"@JaKXz nyc can handle source maps out of the box now, provided the source maps are available when it instruments the source files. I'm not sure how well it would work with Karma though. In your branch you seem to be [hooking up Istanbul yourself](https://github.com/JaKXz/webpack-ts-demo/pull/3/files#diff-a2a3b7b0c9c3b4b93b4aebf4e3ec3cfbR37) which might conflict with nyc. And nyc might not work great with a Webpack bundle either."}}