{"action":"created","issue":{"url":"https://api.github.com/repos/pixijs/pixi-particles/issues/87","repository_url":"https://api.github.com/repos/pixijs/pixi-particles","labels_url":"https://api.github.com/repos/pixijs/pixi-particles/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/pixijs/pixi-particles/issues/87/comments","events_url":"https://api.github.com/repos/pixijs/pixi-particles/issues/87/events","html_url":"https://github.com/pixijs/pixi-particles/issues/87","id":354732275,"node_id":"MDU6SXNzdWUzNTQ3MzIyNzU=","number":87,"title":"particles.Emitter is not a constructor - TypeScript","user":{"login":"benwager","id":5874704,"node_id":"MDQ6VXNlcjU4NzQ3MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5874704?v=4","gravatar_id":"","url":"https://api.github.com/users/benwager","html_url":"https://github.com/benwager","followers_url":"https://api.github.com/users/benwager/followers","following_url":"https://api.github.com/users/benwager/following{/other_user}","gists_url":"https://api.github.com/users/benwager/gists{/gist_id}","starred_url":"https://api.github.com/users/benwager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwager/subscriptions","organizations_url":"https://api.github.com/users/benwager/orgs","repos_url":"https://api.github.com/users/benwager/repos","events_url":"https://api.github.com/users/benwager/events{/privacy}","received_events_url":"https://api.github.com/users/benwager/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-28T13:30:20Z","updated_at":"2018-08-29T15:52:52Z","closed_at":null,"author_association":"NONE","body":"I have a typescript Pixi project, I've installed pixi-particles via npm.\r\nI import in to my project using:\r\n\r\n`import particles = require(\"pixi-particles\");`\r\n\r\nand then try to create an emitter with:\r\n\r\n`private emitter:particles.Emitter;`\r\n`this.emitter = new particles.Emitter(...);`\r\n\r\nit builds ok, but then gives this error in console\r\n\r\n> Uncaught TypeError: particles.Emitter is not a constructor\r\n"},"comment":{"url":"https://api.github.com/repos/pixijs/pixi-particles/issues/comments/417004323","html_url":"https://github.com/pixijs/pixi-particles/issues/87#issuecomment-417004323","issue_url":"https://api.github.com/repos/pixijs/pixi-particles/issues/87","id":417004323,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzAwNDMyMw==","user":{"login":"andrewstart","id":1816311,"node_id":"MDQ6VXNlcjE4MTYzMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1816311?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewstart","html_url":"https://github.com/andrewstart","followers_url":"https://api.github.com/users/andrewstart/followers","following_url":"https://api.github.com/users/andrewstart/following{/other_user}","gists_url":"https://api.github.com/users/andrewstart/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewstart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewstart/subscriptions","organizations_url":"https://api.github.com/users/andrewstart/orgs","repos_url":"https://api.github.com/users/andrewstart/repos","events_url":"https://api.github.com/users/andrewstart/events{/privacy}","received_events_url":"https://api.github.com/users/andrewstart/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T15:52:52Z","updated_at":"2018-08-29T15:52:52Z","author_association":"CONTRIBUTOR","body":"I had actually removed Node exports (and forgot to remove the TS info for it) in v3.0.0 because Typescript was giving me trouble when building, but it should be back in v3.1.0 - give that a try."}}
{"actor":{"display_login":"andrewstart"}}