diff --git a/src/app/api/-/destination/route.ts b/src/app/api/-/destination/route.ts index c6263243..69445467 100644 --- a/src/app/api/-/destination/route.ts +++ b/src/app/api/-/destination/route.ts @@ -1,4 +1,4 @@ -import { NextRequest, NextResponse } from "next/server"; +import { type NextRequest, NextResponse } from "next/server"; import destination from "^/lib/destination"; function assureArrayLength(specs: string[]) { diff --git a/src/middleware.ts b/src/middleware.ts index 8d0b2559..7f071bb0 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -1,4 +1,4 @@ -import { NextRequest, NextResponse } from "next/server"; +import { type NextRequest, NextResponse } from "next/server"; import type { Destination } from "./lib/destination"; import specsToDiff from "./lib/utils/specsToDiff"; import splitParts from "./lib/utils/splitParts";