{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5311","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5311/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5311/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5311/events","html_url":"https://github.com/Microsoft/TypeScript/issues/5311","id":111995804,"number":5311,"title":"Feature request: Sharing with C#","user":{"login":"BobFrGit","id":5490484,"avatar_url":"https://avatars.githubusercontent.com/u/5490484?v=3","gravatar_id":"","url":"https://api.github.com/users/BobFrGit","html_url":"https://github.com/BobFrGit","followers_url":"https://api.github.com/users/BobFrGit/followers","following_url":"https://api.github.com/users/BobFrGit/following{/other_user}","gists_url":"https://api.github.com/users/BobFrGit/gists{/gist_id}","starred_url":"https://api.github.com/users/BobFrGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobFrGit/subscriptions","organizations_url":"https://api.github.com/users/BobFrGit/orgs","repos_url":"https://api.github.com/users/BobFrGit/repos","events_url":"https://api.github.com/users/BobFrGit/events{/privacy}","received_events_url":"https://api.github.com/users/BobFrGit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-18T02:12:46Z","updated_at":"2015-10-18T02:12:46Z","closed_at":null,"body":"I find myself sharing structures between C# and Typescript when I do client/server code and using browser code in my apps as with Awesomium and MSHTML. It would be nice to have a way to share a common interface definitions -- perhaps an option to automatically generate a corresponding C# or VB definition from the TS version. This would also be useful for enumerations and constants.\r\n\r\n"}}