Closed innocenzi closed 7 months ago
Oops. Thanks for the PR, but we should import these types from @adonisjs/core/types/http
instead. @adonisjs/http-server
is included in @adonisjs/core
and does not need to be installed in the user application
Oh, okay, makes sense. Thanks!
Type of change
Description
I spinned up a new v6 project to try out Adonis. The
app/exceptions/handler.ts
file uses@adonisjs/http-server
, which was not included in the starter kit, so there were type errors (and probably runtime errors if I ran the code?).Checklist