{"action":"created","issue":{"url":"https://api.github.com/repos/itsFrank/vue-typescript/issues/12","repository_url":"https://api.github.com/repos/itsFrank/vue-typescript","labels_url":"https://api.github.com/repos/itsFrank/vue-typescript/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/itsFrank/vue-typescript/issues/12/comments","events_url":"https://api.github.com/repos/itsFrank/vue-typescript/issues/12/events","html_url":"https://github.com/itsFrank/vue-typescript/issues/12","id":171265876,"number":12,"title":"Vue 2.0","user":{"login":"AlexanderMattoni","id":5110855,"avatar_url":"https://avatars.githubusercontent.com/u/5110855?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderMattoni","html_url":"https://github.com/AlexanderMattoni","followers_url":"https://api.github.com/users/AlexanderMattoni/followers","following_url":"https://api.github.com/users/AlexanderMattoni/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderMattoni/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderMattoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderMattoni/subscriptions","organizations_url":"https://api.github.com/users/AlexanderMattoni/orgs","repos_url":"https://api.github.com/users/AlexanderMattoni/repos","events_url":"https://api.github.com/users/AlexanderMattoni/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderMattoni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-15T21:26:53Z","updated_at":"2016-08-16T08:05:41Z","closed_at":null,"body":"I'm attempting to set this up to work with Vue 2.0. First thing I had to do was edit the definitions from definitely typed for Vue so that it exports a default module instead.\r\n\r\nUsing vue-typescript, I get the following error:\r\n\r\n`vuecomponent.js:38Uncaught TypeError: Class constructor default_1 cannot be invoked without 'new'`\r\n\r\nand it points to the following block of code:\r\n\r\n ```\r\n// a utility function to generate instances of a class\r\n        function construct(constructor, args) {\r\n            var c = function () {\r\n                return constructor.apply(this, args);\r\n            };\r\n            c.prototype = constructor.prototype;\r\n            return new c();\r\n        }\r\n```\r\n\r\nunder the vuecomponent.js file.\r\n\r\nJust wondering if there will be an update to support 2.0, and what I can do in the meantime so that I can get this working.\r\n\r\nThanks for all your hard work!"},"comment":{"url":"https://api.github.com/repos/itsFrank/vue-typescript/issues/comments/240031628","html_url":"https://github.com/itsFrank/vue-typescript/issues/12#issuecomment-240031628","issue_url":"https://api.github.com/repos/itsFrank/vue-typescript/issues/12","id":240031628,"user":{"login":"itsFrank","id":7297152,"avatar_url":"https://avatars.githubusercontent.com/u/7297152?v=3","gravatar_id":"","url":"https://api.github.com/users/itsFrank","html_url":"https://github.com/itsFrank","followers_url":"https://api.github.com/users/itsFrank/followers","following_url":"https://api.github.com/users/itsFrank/following{/other_user}","gists_url":"https://api.github.com/users/itsFrank/gists{/gist_id}","starred_url":"https://api.github.com/users/itsFrank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsFrank/subscriptions","organizations_url":"https://api.github.com/users/itsFrank/orgs","repos_url":"https://api.github.com/users/itsFrank/repos","events_url":"https://api.github.com/users/itsFrank/events{/privacy}","received_events_url":"https://api.github.com/users/itsFrank/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T08:05:41Z","updated_at":"2016-08-16T08:05:41Z","body":"I'll look into it for sure, however i'm out of the country until september. I'm planning on releasing a major update early to mid september this will be a top priority"}}
{"actor":{"display_login":"itsFrank"}}