Skip to content

Commit

Permalink
fix(nextjs): Drop subpath import of NextMiddleware type
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkl committed Sep 14, 2023
1 parent 30bb9ec commit 6a1c09a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changeset/khaki-mice-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
3 changes: 1 addition & 2 deletions packages/nextjs/src/server/withClerkMiddleware.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { RequestState } from '@clerk/backend';
import { constants, debugRequestState } from '@clerk/backend';
import type { NextMiddleware } from 'next/dist/server/web/types';
import type { NextFetchEvent, NextRequest } from 'next/server';
import type { NextFetchEvent, NextMiddleware, NextRequest } from 'next/server';
import { NextResponse } from 'next/server';

import {
Expand Down

0 comments on commit 6a1c09a

Please sign in to comment.