Skip to content

Commit 998f303

Browse files
authored
refactor: update type imports
1 parent f655302 commit 998f303

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

index.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
import { BindenError, Middleware, IMiddlewareParams, Context } from "binden";
2-
import busboy, { BusboyConfig } from "busboy";
1+
import {
2+
BindenError,
3+
type Context,
4+
type IMiddlewareParams,
5+
Middleware,
6+
} from "binden";
7+
import busboy, { type BusboyConfig } from "busboy";
38

49
export type IMultipartConfig = Omit<BusboyConfig, "headers">;
510

@@ -26,6 +31,7 @@ export class Multipart extends Middleware {
2631
const { log, request } = context;
2732
const { headers, method, content_type } = request;
2833

34+
/* eslint-disable @typescript-eslint/switch-exhaustiveness-check */
2935
switch (method) {
3036
case "GET":
3137
case "HEAD":

0 commit comments

Comments
 (0)