pauser Posted July 15, 2015 Share Posted July 15, 2015 Hi, i've tried to extend PIXI.EventEmitter in typescript but it does not seem to work. It says that EventEmitter is not defined. class MyClass extends PIXI.EventEmitter Am I missing something?If its only for internal use, it should not be exported from typescript def.Regards. Quote Link to comment Share on other sites More sharing options...
xerver Posted July 16, 2015 Share Posted July 16, 2015 PIXI.EventEmitter is not a thing in v3. We use eventemitter3: https://github.com/primus/eventemitter3 We should expose it under utils as well, I'll add that to my todos. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.