diff options
-rw-r--r-- | packages/server/src/fastify_types.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/server/src/fastify_types.ts b/packages/server/src/fastify_types.ts index baed761..ebaaac2 100644 --- a/packages/server/src/fastify_types.ts +++ b/packages/server/src/fastify_types.ts @@ -2,12 +2,8 @@ import { FastifyRequest, RequestGenericInterface } from "fastify"; import { ReplyGenericInterface } from "fastify/types/reply"; export interface Request extends RequestGenericInterface { - Params: { - [key: string]: string - }, - Querystring: { - [key: string]: string - } + Params: Record<string, string>, + Querystring: Record<string, string> } export interface Route extends Request, ReplyGenericInterface {} |