Read the example below*, but don\'t pay too much attention to the EventEmitter inheritance, please – it just shows the utility of the class syntax.
EventEmitter
class
Should I just split it up and use a class expression?
Yes, that's the way to go. If you insist on using a declaration, you'd have to make a App.Page = Page assignment afterwards.
App.Page = Page