refactor: fix App.prototype.handler() return type
#2908
Closed
App.prototype.handler() return type
#2908