* Expose next function type * Add type testing for typescript custom server * Move types test to integration folder