{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/963","repository_url":"https://api.github.com/repos/apollostack/apollo-client","labels_url":"https://api.github.com/repos/apollostack/apollo-client/issues/963/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-client/issues/963/comments","events_url":"https://api.github.com/repos/apollostack/apollo-client/issues/963/events","html_url":"https://github.com/apollostack/apollo-client/issues/963","id":191813990,"number":963,"title":"ionic 2 and apollo-client issue on es5/es6 configuration in tsconfig.json","user":{"login":"geocine","id":507464,"avatar_url":"https://avatars.githubusercontent.com/u/507464?v=3","gravatar_id":"","url":"https://api.github.com/users/geocine","html_url":"https://github.com/geocine","followers_url":"https://api.github.com/users/geocine/followers","following_url":"https://api.github.com/users/geocine/following{/other_user}","gists_url":"https://api.github.com/users/geocine/gists{/gist_id}","starred_url":"https://api.github.com/users/geocine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geocine/subscriptions","organizations_url":"https://api.github.com/users/geocine/orgs","repos_url":"https://api.github.com/users/geocine/repos","events_url":"https://api.github.com/users/geocine/events{/privacy}","received_events_url":"https://api.github.com/users/geocine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kamilkisiela","id":8167190,"avatar_url":"https://avatars.githubusercontent.com/u/8167190?v=3","gravatar_id":"","url":"https://api.github.com/users/kamilkisiela","html_url":"https://github.com/kamilkisiela","followers_url":"https://api.github.com/users/kamilkisiela/followers","following_url":"https://api.github.com/users/kamilkisiela/following{/other_user}","gists_url":"https://api.github.com/users/kamilkisiela/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilkisiela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilkisiela/subscriptions","organizations_url":"https://api.github.com/users/kamilkisiela/orgs","repos_url":"https://api.github.com/users/kamilkisiela/repos","events_url":"https://api.github.com/users/kamilkisiela/events{/privacy}","received_events_url":"https://api.github.com/users/kamilkisiela/received_events","type":"User","site_admin":false},"assignees":[{"login":"kamilkisiela","id":8167190,"avatar_url":"https://avatars.githubusercontent.com/u/8167190?v=3","gravatar_id":"","url":"https://api.github.com/users/kamilkisiela","html_url":"https://github.com/kamilkisiela","followers_url":"https://api.github.com/users/kamilkisiela/followers","following_url":"https://api.github.com/users/kamilkisiela/following{/other_user}","gists_url":"https://api.github.com/users/kamilkisiela/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilkisiela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilkisiela/subscriptions","organizations_url":"https://api.github.com/users/kamilkisiela/orgs","repos_url":"https://api.github.com/users/kamilkisiela/repos","events_url":"https://api.github.com/users/kamilkisiela/events{/privacy}","received_events_url":"https://api.github.com/users/kamilkisiela/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-11-26T16:27:23Z","updated_at":"2016-11-29T16:19:06Z","closed_at":null,"body":"I have read this on the documentation:\r\n\r\n```\r\nTypeScript 2.0 comes with a set of predefined type declarations.\r\nIf you're using one of them that brings ES2015 (ES6) you should disable it, because @types/es6-shim will cause an issue with multiple types definitons.\r\n\r\nIt's easy, just replace es6, es2015 or similar options from compilerOptions.lib for es5.\r\n```\r\nI wanted to report this to the Ionic team but this only started happening when I added he apollo-client so I will link this to them once someone starts answering.\r\n\r\nDoes anyone know why I have to do this on Ionic 2 + Angular 2 + Apollo Client on my `tsconfig.json`?\r\nDuring `ionic serve`\r\n```    \"lib\": [\r\n      \"dom\",\r\n      \"es6\"\r\n    ]\r\n```\r\nBut during `ionic build android` I should do this\r\n```    \"lib\": [\r\n      \"dom\",\r\n      \"es5\"\r\n    ]\r\n```\r\nIs there any work around so that I don't have to manually edit the file every time I execute the commands? If I don't change them these commands would throw error and interrupt webpack."},"comment":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/comments/263617511","html_url":"https://github.com/apollostack/apollo-client/issues/963#issuecomment-263617511","issue_url":"https://api.github.com/repos/apollostack/apollo-client/issues/963","id":263617511,"user":{"login":"helfer","id":6569980,"avatar_url":"https://avatars.githubusercontent.com/u/6569980?v=3","gravatar_id":"","url":"https://api.github.com/users/helfer","html_url":"https://github.com/helfer","followers_url":"https://api.github.com/users/helfer/followers","following_url":"https://api.github.com/users/helfer/following{/other_user}","gists_url":"https://api.github.com/users/helfer/gists{/gist_id}","starred_url":"https://api.github.com/users/helfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helfer/subscriptions","organizations_url":"https://api.github.com/users/helfer/orgs","repos_url":"https://api.github.com/users/helfer/repos","events_url":"https://api.github.com/users/helfer/events{/privacy}","received_events_url":"https://api.github.com/users/helfer/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T16:19:06Z","updated_at":"2016-11-29T16:19:06Z","body":"@geocine does that mean we can close this issue?"}}
{"actor":{"display_login":"helfer"}}