{"action":"created","issue":{"url":"https://api.github.com/repos/angular/ts2dart/issues/356","repository_url":"https://api.github.com/repos/angular/ts2dart","labels_url":"https://api.github.com/repos/angular/ts2dart/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/angular/ts2dart/issues/356/comments","events_url":"https://api.github.com/repos/angular/ts2dart/issues/356/events","html_url":"https://github.com/angular/ts2dart/issues/356","id":142769200,"number":356,"title":"Better support for reified types on literals.","user":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-22T20:26:16Z","updated_at":"2016-03-22T20:40:13Z","closed_at":null,"body":"Given:\r\n```\r\nvar x = <{[k:string]:any}>{};\r\nvar y = <string[]>[];\r\n```\r\n\r\nWe get:\r\n```\r\nvar x = {} as Map<String, any>;\r\nvar y = [] as List<String>;\r\n```\r\n\r\nWe want to get:\r\n```\r\nvar x = <String, any>{};\r\nvar y = <String>[];\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/ts2dart/issues/comments/200012810","html_url":"https://github.com/angular/ts2dart/issues/356#issuecomment-200012810","issue_url":"https://api.github.com/repos/angular/ts2dart/issues/356","id":200012810,"user":{"login":"mprobst","id":7208,"avatar_url":"https://avatars.githubusercontent.com/u/7208?v=3","gravatar_id":"","url":"https://api.github.com/users/mprobst","html_url":"https://github.com/mprobst","followers_url":"https://api.github.com/users/mprobst/followers","following_url":"https://api.github.com/users/mprobst/following{/other_user}","gists_url":"https://api.github.com/users/mprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/mprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprobst/subscriptions","organizations_url":"https://api.github.com/users/mprobst/orgs","repos_url":"https://api.github.com/users/mprobst/repos","events_url":"https://api.github.com/users/mprobst/events{/privacy}","received_events_url":"https://api.github.com/users/mprobst/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T20:40:13Z","updated_at":"2016-03-22T20:40:13Z","body":"We translate these as casts as they are casts in TS. Is there anything in particular this breaks?\r\n\r\nYou could also try:\r\n\r\n```ts\r\nlet x: string[] = [];\r\n```"}}