{"action":"created","issue":{"url":"https://api.github.com/repos/angular/tsickle/issues/180","repository_url":"https://api.github.com/repos/angular/tsickle","labels_url":"https://api.github.com/repos/angular/tsickle/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/angular/tsickle/issues/180/comments","events_url":"https://api.github.com/repos/angular/tsickle/issues/180/events","html_url":"https://github.com/angular/tsickle/issues/180","id":167667990,"number":180,"title":"Generate externs with multiple constructor signatures","user":{"login":"evmar","id":3847,"avatar_url":"https://avatars.githubusercontent.com/u/3847?v=3","gravatar_id":"","url":"https://api.github.com/users/evmar","html_url":"https://github.com/evmar","followers_url":"https://api.github.com/users/evmar/followers","following_url":"https://api.github.com/users/evmar/following{/other_user}","gists_url":"https://api.github.com/users/evmar/gists{/gist_id}","starred_url":"https://api.github.com/users/evmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evmar/subscriptions","organizations_url":"https://api.github.com/users/evmar/orgs","repos_url":"https://api.github.com/users/evmar/repos","events_url":"https://api.github.com/users/evmar/events{/privacy}","received_events_url":"https://api.github.com/users/evmar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-26T17:42:18Z","updated_at":"2016-07-26T18:02:54Z","closed_at":null,"body":"Tsickle currently errors when generating externs from a declaration class with multiple constructors.\r\nHowever, these exist in d.ts files.  We need to figure out how to support it.\r\n\r\nExample:\r\nhttps://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/google.visualization/google.visualization.d.ts#L238"},"comment":{"url":"https://api.github.com/repos/angular/tsickle/issues/comments/235353055","html_url":"https://github.com/angular/tsickle/issues/180#issuecomment-235353055","issue_url":"https://api.github.com/repos/angular/tsickle/issues/180","id":235353055,"user":{"login":"evmar","id":3847,"avatar_url":"https://avatars.githubusercontent.com/u/3847?v=3","gravatar_id":"","url":"https://api.github.com/users/evmar","html_url":"https://github.com/evmar","followers_url":"https://api.github.com/users/evmar/followers","following_url":"https://api.github.com/users/evmar/following{/other_user}","gists_url":"https://api.github.com/users/evmar/gists{/gist_id}","starred_url":"https://api.github.com/users/evmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evmar/subscriptions","organizations_url":"https://api.github.com/users/evmar/orgs","repos_url":"https://api.github.com/users/evmar/repos","events_url":"https://api.github.com/users/evmar/events{/privacy}","received_events_url":"https://api.github.com/users/evmar/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T18:02:54Z","updated_at":"2016-07-26T18:02:54Z","body":"Some more instances of this problem:\r\n- https://github.com/DefinitelyTyped/DefinitelyTyped/blob/56024034ccc426af2840e90fe94043c2213dd6b4/threejs/three.d.ts#L976\r\n- https://github.com/Reactive-Extensions/RxJS/blob/29f85627e4ab71b050480f26dcc5d737f1b840f4/ts/rx.lite.d.ts#L254\r\n- https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/pixi.js/pixi.js.d.ts#L394\r\n\r\nDoing the merge looks like it'd generate some pretty crazy types, especially in that first case.\r\nBut I don't see any way around it."}}
{"actor":{"display_login":"evmar"}}