Extend class from Z.Base

I tried extends Z.Type.Base . However I get the following error: Uncaught TypeError: Cannot read property 'Base' of undefined. Basically I’d like my custom class to be able to use the emit function, on function, etc. I know I can use symbol.emit, but is there a way to have my custom class do that?