{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/autorest/issues/368","labels_url":"https://api.github.com/repos/Azure/autorest/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/368/comments","events_url":"https://api.github.com/repos/Azure/autorest/issues/368/events","html_url":"https://github.com/Azure/autorest/pull/368","id":108731265,"number":368,"title":"Added TypeScript support, generating .d.ts files alongside NodeJS JavaScript","user":{"login":"BretJohnson","id":245892,"avatar_url":"https://avatars.githubusercontent.com/u/245892?v=3","gravatar_id":"","url":"https://api.github.com/users/BretJohnson","html_url":"https://github.com/BretJohnson","followers_url":"https://api.github.com/users/BretJohnson/followers","following_url":"https://api.github.com/users/BretJohnson/following{/other_user}","gists_url":"https://api.github.com/users/BretJohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/BretJohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BretJohnson/subscriptions","organizations_url":"https://api.github.com/users/BretJohnson/orgs","repos_url":"https://api.github.com/users/BretJohnson/repos","events_url":"https://api.github.com/users/BretJohnson/events{/privacy}","received_events_url":"https://api.github.com/users/BretJohnson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/autorest/labels/cla-required","name":"cla-required","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-28T19:37:28Z","updated_at":"2015-09-28T19:37:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Azure/autorest/pulls/368","html_url":"https://github.com/Azure/autorest/pull/368","diff_url":"https://github.com/Azure/autorest/pull/368.diff","patch_url":"https://github.com/Azure/autorest/pull/368.patch"},"body":"Here's the updated pull request for TypeScript support. Now the d.ts files are consolidated, so it'll generate at most 3 d.ts files: .d.ts, models/index.d.t.s, and operations/index.d.ts.\r\n\r\nd.ts generation is pretty harmless, but to disable, if that's desired for any reason, can do this:\r\nChange NodeJSCodeGenerator.DisableTypeScriptGeneration to true\r\nDon't include index.d.ts addition in ms-rest npm update (though, again, it's pretty harmless if included)"},"comment":{"url":"https://api.github.com/repos/Azure/autorest/issues/comments/143852954","html_url":"https://github.com/Azure/autorest/pull/368#issuecomment-143852954","issue_url":"https://api.github.com/repos/Azure/autorest/issues/368","id":143852954,"user":{"login":"azurecla","id":8030856,"avatar_url":"https://avatars.githubusercontent.com/u/8030856?v=3","gravatar_id":"","url":"https://api.github.com/users/azurecla","html_url":"https://github.com/azurecla","followers_url":"https://api.github.com/users/azurecla/followers","following_url":"https://api.github.com/users/azurecla/following{/other_user}","gists_url":"https://api.github.com/users/azurecla/gists{/gist_id}","starred_url":"https://api.github.com/users/azurecla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azurecla/subscriptions","organizations_url":"https://api.github.com/users/azurecla/orgs","repos_url":"https://api.github.com/users/azurecla/repos","events_url":"https://api.github.com/users/azurecla/events{/privacy}","received_events_url":"https://api.github.com/users/azurecla/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T19:37:31Z","updated_at":"2015-09-28T19:37:31Z","body":"Hi __@BretJohnson__, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!\n    <span>\n        In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.\n    </span>\n\nTTYL, AZPRBOT;\n"}}