We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f655302 commit 998f303Copy full SHA for 998f303
index.ts
@@ -1,5 +1,10 @@
1
-import { BindenError, Middleware, IMiddlewareParams, Context } from "binden";
2
-import busboy, { BusboyConfig } from "busboy";
+import {
+ BindenError,
3
+ type Context,
4
+ type IMiddlewareParams,
5
+ Middleware,
6
+} from "binden";
7
+import busboy, { type BusboyConfig } from "busboy";
8
9
export type IMultipartConfig = Omit<BusboyConfig, "headers">;
10
@@ -26,6 +31,7 @@ export class Multipart extends Middleware {
26
31
const { log, request } = context;
27
32
const { headers, method, content_type } = request;
28
33
34
+ /* eslint-disable @typescript-eslint/switch-exhaustiveness-check */
29
35
switch (method) {
30
36
case "GET":
37
case "HEAD":
0 commit comments