Skip to content

Commit

Permalink
update historyApiFallback's types, use type from connect-history-api-…
Browse files Browse the repository at this point in the history
…fallback
  • Loading branch information
windsonR committed Sep 13, 2024
1 parent 8f210ad commit 9815b80
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/history-api/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
export type HistoryRewrites = {
from: RegExp,
to: string,
}
import type {Rewrite} from 'connect-history-api-fallback'
export type HistoryRewrites = Rewrite

export type HistoryApiOptions = {
/**
Expand Down

0 comments on commit 9815b80

Please sign in to comment.