{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4552","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4552/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4552/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4552/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/4552","id":107210338,"number":4552,"title":"[js] add ES6 types","user":{"login":"nadako","id":49749,"avatar_url":"https://avatars.githubusercontent.com/u/49749?v=3","gravatar_id":"","url":"https://api.github.com/users/nadako","html_url":"https://github.com/nadako","followers_url":"https://api.github.com/users/nadako/followers","following_url":"https://api.github.com/users/nadako/following{/other_user}","gists_url":"https://api.github.com/users/nadako/gists{/gist_id}","starred_url":"https://api.github.com/users/nadako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadako/subscriptions","organizations_url":"https://api.github.com/users/nadako/orgs","repos_url":"https://api.github.com/users/nadako/repos","events_url":"https://api.github.com/users/nadako/events{/privacy}","received_events_url":"https://api.github.com/users/nadako/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/platform-javascript","name":"platform-javascript","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T14:14:17Z","updated_at":"2015-09-18T14:15:16Z","closed_at":null,"body":"It seems that the ES6 spec is finalized wrt built-in types like `Set`, `Map`, `WeakMap` etc. and they are already available in e.g. node.js, so we should start adding externs for that.\r\n\r\nAfter that we could think of adding `-D js-es6` or `-D es=6` or something to make our own types (like `haxe.ds.*Map`) use native ones.\r\n\r\nAlso, @aduros, we currently have `js.html.Uint8Array` and friends, but those are not really HTML-related, they are just general ES types, I think we should move those to the `js` package. What do you think?"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/141462673","html_url":"https://github.com/HaxeFoundation/haxe/issues/4552#issuecomment-141462673","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4552","id":141462673,"user":{"login":"nadako","id":49749,"avatar_url":"https://avatars.githubusercontent.com/u/49749?v=3","gravatar_id":"","url":"https://api.github.com/users/nadako","html_url":"https://github.com/nadako","followers_url":"https://api.github.com/users/nadako/followers","following_url":"https://api.github.com/users/nadako/following{/other_user}","gists_url":"https://api.github.com/users/nadako/gists{/gist_id}","starred_url":"https://api.github.com/users/nadako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadako/subscriptions","organizations_url":"https://api.github.com/users/nadako/orgs","repos_url":"https://api.github.com/users/nadako/repos","events_url":"https://api.github.com/users/nadako/events{/privacy}","received_events_url":"https://api.github.com/users/nadako/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T14:15:16Z","updated_at":"2015-09-18T14:15:16Z","body":"@explorigin you've done something regarding ES6 types, haven't you?"}}