Extension point to allow custom types in JSON serialization. Use declaration merging to add additional types that should be allowed in JSON output.
declare module '@adonisjs/http-transformers' { interface ExtendJSONTypes { customDate: MyCustomDateType }} Copy
declare module '@adonisjs/http-transformers' { interface ExtendJSONTypes { customDate: MyCustomDateType }}
Extension point to allow custom types in JSON serialization. Use declaration merging to add additional types that should be allowed in JSON output.