{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/16497","repository_url":"https://api.github.com/repos/ionic-team/ionic","labels_url":"https://api.github.com/repos/ionic-team/ionic/issues/16497/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic/issues/16497/comments","events_url":"https://api.github.com/repos/ionic-team/ionic/issues/16497/events","html_url":"https://github.com/ionic-team/ionic/issues/16497","id":385420609,"node_id":"MDU6SXNzdWUzODU0MjA2MDk=","number":16497,"title":"Transpile Errors in @ionic/react with Babel Transpiling","user":{"login":"jthoms1","id":1425431,"node_id":"MDQ6VXNlcjE0MjU0MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1425431?v=4","gravatar_id":"","url":"https://api.github.com/users/jthoms1","html_url":"https://github.com/jthoms1","followers_url":"https://api.github.com/users/jthoms1/followers","following_url":"https://api.github.com/users/jthoms1/following{/other_user}","gists_url":"https://api.github.com/users/jthoms1/gists{/gist_id}","starred_url":"https://api.github.com/users/jthoms1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jthoms1/subscriptions","organizations_url":"https://api.github.com/users/jthoms1/orgs","repos_url":"https://api.github.com/users/jthoms1/repos","events_url":"https://api.github.com/users/jthoms1/events{/privacy}","received_events_url":"https://api.github.com/users/jthoms1/received_events","type":"User","site_admin":false},"labels":[{"id":1143536768,"node_id":"MDU6TGFiZWwxMTQzNTM2NzY4","url":"https://api.github.com/repos/ionic-team/ionic/labels/package:%20react","name":"package: react","color":"6ED3ED","default":false}],"state":"closed","locked":false,"assignee":{"login":"jthoms1","id":1425431,"node_id":"MDQ6VXNlcjE0MjU0MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1425431?v=4","gravatar_id":"","url":"https://api.github.com/users/jthoms1","html_url":"https://github.com/jthoms1","followers_url":"https://api.github.com/users/jthoms1/followers","following_url":"https://api.github.com/users/jthoms1/following{/other_user}","gists_url":"https://api.github.com/users/jthoms1/gists{/gist_id}","starred_url":"https://api.github.com/users/jthoms1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jthoms1/subscriptions","organizations_url":"https://api.github.com/users/jthoms1/orgs","repos_url":"https://api.github.com/users/jthoms1/repos","events_url":"https://api.github.com/users/jthoms1/events{/privacy}","received_events_url":"https://api.github.com/users/jthoms1/received_events","type":"User","site_admin":false},"assignees":[{"login":"jthoms1","id":1425431,"node_id":"MDQ6VXNlcjE0MjU0MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1425431?v=4","gravatar_id":"","url":"https://api.github.com/users/jthoms1","html_url":"https://github.com/jthoms1","followers_url":"https://api.github.com/users/jthoms1/followers","following_url":"https://api.github.com/users/jthoms1/following{/other_user}","gists_url":"https://api.github.com/users/jthoms1/gists{/gist_id}","starred_url":"https://api.github.com/users/jthoms1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jthoms1/subscriptions","organizations_url":"https://api.github.com/users/jthoms1/orgs","repos_url":"https://api.github.com/users/jthoms1/repos","events_url":"https://api.github.com/users/jthoms1/events{/privacy}","received_events_url":"https://api.github.com/users/jthoms1/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-28T19:24:26Z","updated_at":"2018-12-09T18:55:13Z","closed_at":"2018-12-06T20:19:50Z","author_association":"CONTRIBUTOR","body":"Create React App uses Babel for Typescript transpilation. In order for this to work it requires that tsconfig has `isolatedModules` set to true. In doing so you are not allowed to have const enums in dependent modules.  More information can be found here https://blogs.msdn.microsoft.com/typescript/2018/08/27/typescript-and-babel-7/.\r\n\r\nDuring compilation of an Ionic React application you will receive the following error.\r\n\r\n```\r\n/Users/joshthomas/Workspace/ionic-react-conference-app/node_modules/@ionic/core/dist/types/components/nav/view-controller.d.ts\r\nType error: Ambient const enums are not allowed when the '--isolatedModules' flag is provided.  TS1209\r\n\r\n    1 | import { ComponentProps, FrameworkDelegate } from '../../interface';\r\n  > 2 | export declare const enum ViewState {\r\n      |                           ^\r\n    3 |     New = 1,\r\n    4 |     Attached = 2,\r\n    5 |     Destroyed = 3\r\n```"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/comments/445561803","html_url":"https://github.com/ionic-team/ionic/issues/16497#issuecomment-445561803","issue_url":"https://api.github.com/repos/ionic-team/ionic/issues/16497","id":445561803,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTU2MTgwMw==","user":{"login":"nkprince007","id":17202890,"node_id":"MDQ6VXNlcjE3MjAyODkw","avatar_url":"https://avatars3.githubusercontent.com/u/17202890?v=4","gravatar_id":"","url":"https://api.github.com/users/nkprince007","html_url":"https://github.com/nkprince007","followers_url":"https://api.github.com/users/nkprince007/followers","following_url":"https://api.github.com/users/nkprince007/following{/other_user}","gists_url":"https://api.github.com/users/nkprince007/gists{/gist_id}","starred_url":"https://api.github.com/users/nkprince007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkprince007/subscriptions","organizations_url":"https://api.github.com/users/nkprince007/orgs","repos_url":"https://api.github.com/users/nkprince007/repos","events_url":"https://api.github.com/users/nkprince007/events{/privacy}","received_events_url":"https://api.github.com/users/nkprince007/received_events","type":"User","site_admin":false},"created_at":"2018-12-09T18:55:13Z","updated_at":"2018-12-09T18:55:13Z","author_association":"NONE","body":"I'm still facing the same issue with `@ionic/core 4.0.0-beta.17`. Is this planned to be released in the next update?"}}
{"actor":{"display_login":"nkprince007"}}