There was an error while loading. Please reload this page.
1 parent 4987b23 commit 46eb14cCopy full SHA for 46eb14c
1 file changed
packages/errorHandler/src/index.ts
@@ -1,18 +1,11 @@
1
-import type { ApiConfig } from "./types";
+import type { HttpErrors } from "@fastify/sensible";
2
3
declare module "fastify" {
4
interface FastifyInstance {
5
- config: ApiConfig;
6
- hostname: string;
7
- }
8
-
9
- interface FastifyRequest {
10
+ httpErrors: HttpErrors;
11
}
12
13
14
export { default } from "./plugin";
15
16
-export { default as parse } from "./parse";
17
18
-export type { ApiConfig, AppConfig } from "./types";
+export type { ErrorResponse } from "./types";
0 commit comments