{"action":"created","issue":{"url":"https://api.github.com/repos/dozoisch/react-async-script/issues/10","repository_url":"https://api.github.com/repos/dozoisch/react-async-script","labels_url":"https://api.github.com/repos/dozoisch/react-async-script/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/dozoisch/react-async-script/issues/10/comments","events_url":"https://api.github.com/repos/dozoisch/react-async-script/issues/10/events","html_url":"https://github.com/dozoisch/react-async-script/issues/10","id":156459033,"number":10,"title":"react_async_script_1.default is not a function","user":{"login":"abhirathore2006","id":3352441,"avatar_url":"https://avatars.githubusercontent.com/u/3352441?v=3","gravatar_id":"","url":"https://api.github.com/users/abhirathore2006","html_url":"https://github.com/abhirathore2006","followers_url":"https://api.github.com/users/abhirathore2006/followers","following_url":"https://api.github.com/users/abhirathore2006/following{/other_user}","gists_url":"https://api.github.com/users/abhirathore2006/gists{/gist_id}","starred_url":"https://api.github.com/users/abhirathore2006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhirathore2006/subscriptions","organizations_url":"https://api.github.com/users/abhirathore2006/orgs","repos_url":"https://api.github.com/users/abhirathore2006/repos","events_url":"https://api.github.com/users/abhirathore2006/events{/privacy}","received_events_url":"https://api.github.com/users/abhirathore2006/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-24T09:21:07Z","updated_at":"2016-10-26T17:47:46Z","closed_at":null,"body":"hi, i am using this into a typescript project getting this error.\r\n\r\n```\r\nimport * as React from \"react\";\r\nimport makeAsyncScriptLoader from \"react-async-script\";\r\n\r\nconst callbackName = \"onloadcallback\";\r\nconst URL = `https://maps.googleapis.com/maps/api/js?key=mykey&libraries=places&callback=${callbackName}`;\r\nconst globalName = \"gmap\";\r\n\r\nclass MapWrapper extends React.Component<{asyncScriptOnLoad?:()=>void},{}>{\r\n  render(){\r\n    return <div></div>\r\n  }\r\n}\r\nexport default makeAsyncScriptLoader(MapWrapper, URL, {\r\n  callbackName: callbackName,\r\n  globalName: globalName,\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/dozoisch/react-async-script/issues/comments/256425152","html_url":"https://github.com/dozoisch/react-async-script/issues/10#issuecomment-256425152","issue_url":"https://api.github.com/repos/dozoisch/react-async-script/issues/10","id":256425152,"user":{"login":"dozoisch","id":4422516,"avatar_url":"https://avatars.githubusercontent.com/u/4422516?v=3","gravatar_id":"","url":"https://api.github.com/users/dozoisch","html_url":"https://github.com/dozoisch","followers_url":"https://api.github.com/users/dozoisch/followers","following_url":"https://api.github.com/users/dozoisch/following{/other_user}","gists_url":"https://api.github.com/users/dozoisch/gists{/gist_id}","starred_url":"https://api.github.com/users/dozoisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dozoisch/subscriptions","organizations_url":"https://api.github.com/users/dozoisch/orgs","repos_url":"https://api.github.com/users/dozoisch/repos","events_url":"https://api.github.com/users/dozoisch/events{/privacy}","received_events_url":"https://api.github.com/users/dozoisch/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T17:47:46Z","updated_at":"2016-10-26T17:47:46Z","body":"I'm going to close the issue for now until I have more information from you. The error seems to be on your bundler side, make sure you log the import and check the generated bundle to see what's up with it."}}
{"actor":{"display_login":"dozoisch"}}