{"action":"created","issue":{"url":"https://api.github.com/repos/niklasvh/html2canvas/issues/1440","repository_url":"https://api.github.com/repos/niklasvh/html2canvas","labels_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/1440/labels{/name}","comments_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/1440/comments","events_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/1440/events","html_url":"https://github.com/niklasvh/html2canvas/issues/1440","id":297593584,"node_id":"MDU6SXNzdWUyOTc1OTM1ODQ=","number":1440,"title":"TypeError: html2canvas.default is not a function","user":{"login":"crwgregory","id":9405969,"node_id":"MDQ6VXNlcjk0MDU5Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/9405969?v=4","gravatar_id":"","url":"https://api.github.com/users/crwgregory","html_url":"https://github.com/crwgregory","followers_url":"https://api.github.com/users/crwgregory/followers","following_url":"https://api.github.com/users/crwgregory/following{/other_user}","gists_url":"https://api.github.com/users/crwgregory/gists{/gist_id}","starred_url":"https://api.github.com/users/crwgregory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crwgregory/subscriptions","organizations_url":"https://api.github.com/users/crwgregory/orgs","repos_url":"https://api.github.com/users/crwgregory/repos","events_url":"https://api.github.com/users/crwgregory/events{/privacy}","received_events_url":"https://api.github.com/users/crwgregory/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-15T20:56:15Z","updated_at":"2018-06-23T05:22:48Z","closed_at":null,"author_association":"NONE","body":"- [x] You are using the latest [version](https://github.com/niklasvh/html2canvas/releases)\r\n- [x] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console\r\n\r\n<!-- You can erase any parts of this template not applicable to your Issue. -->\r\n\r\n### Bug reports:\r\nSimple Call:\r\n```javascript\r\nhtml2canvas(document.getElementById('passport-questions-form')).then(canvas => {\r\n    // code...\r\n});\r\n```\r\nIs giving me:\r\n`ERROR TypeError: html2canvas_1.default is not a function`\r\n\r\nThis happened after upgrading Angular cli@1.6.8 from 1.5.0. I assume it might be because there was a TypeScript Update?\r\n\r\n * html2canvas version tested with: alpha.10 \r\n * Browser & version: chrome:64.0.3282.167 \r\n * Operating system: windows 10\r\n"},"comment":{"url":"https://api.github.com/repos/niklasvh/html2canvas/issues/comments/399633352","html_url":"https://github.com/niklasvh/html2canvas/issues/1440#issuecomment-399633352","issue_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/1440","id":399633352,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTYzMzM1Mg==","user":{"login":"seyidaniels","id":19833704,"node_id":"MDQ6VXNlcjE5ODMzNzA0","avatar_url":"https://avatars2.githubusercontent.com/u/19833704?v=4","gravatar_id":"","url":"https://api.github.com/users/seyidaniels","html_url":"https://github.com/seyidaniels","followers_url":"https://api.github.com/users/seyidaniels/followers","following_url":"https://api.github.com/users/seyidaniels/following{/other_user}","gists_url":"https://api.github.com/users/seyidaniels/gists{/gist_id}","starred_url":"https://api.github.com/users/seyidaniels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seyidaniels/subscriptions","organizations_url":"https://api.github.com/users/seyidaniels/orgs","repos_url":"https://api.github.com/users/seyidaniels/repos","events_url":"https://api.github.com/users/seyidaniels/events{/privacy}","received_events_url":"https://api.github.com/users/seyidaniels/received_events","type":"User","site_admin":false},"created_at":"2018-06-23T05:22:48Z","updated_at":"2018-06-23T05:22:48Z","author_association":"NONE","body":"Thanks @dbonillao "}}
{"actor":{"display_login":"seyidaniels"}}