diff --git a/packages/uploadthing/src/h3.ts b/packages/uploadthing/src/h3.ts index ab9ebf170..c78a5b163 100644 --- a/packages/uploadthing/src/h3.ts +++ b/packages/uploadthing/src/h3.ts @@ -12,7 +12,11 @@ import type { FileRouter, RouteHandlerOptions } from "./types"; export { UTFiles } from "./internal/types"; export type { FileRouter }; -type AdapterArgs = { req: undefined; res: undefined; event: H3Event }; +type AdapterArgs = { + req: undefined; + res: undefined; + event: H3Event; +}; export const createUploadthing = ( opts?: CreateBuilderOptions, diff --git a/packages/uploadthing/src/next.ts b/packages/uploadthing/src/next.ts index bd74eb4a7..526282582 100644 --- a/packages/uploadthing/src/next.ts +++ b/packages/uploadthing/src/next.ts @@ -11,7 +11,11 @@ import type { FileRouter, RouteHandlerOptions } from "./types"; export type { FileRouter }; export { UTFiles } from "./internal/types"; -type AdapterArgs = { req: NextRequest; res: undefined; event: undefined }; +type AdapterArgs = { + req: NextRequest; + res: undefined; + event: undefined; +}; export const createUploadthing = ( opts?: CreateBuilderOptions, diff --git a/packages/uploadthing/src/server.ts b/packages/uploadthing/src/server.ts index 70458f80d..ca58b84e1 100644 --- a/packages/uploadthing/src/server.ts +++ b/packages/uploadthing/src/server.ts @@ -14,7 +14,11 @@ export { UTApi } from "./sdk"; export { UTFile } from "./sdk/ut-file"; export { UploadThingError, type FileRouter }; -type AdapterArgs = { req: Request; res: undefined; event: undefined }; +type AdapterArgs = { + req: Request; + res: undefined; + event: undefined; +}; export const createUploadthing = ( opts?: CreateBuilderOptions,