Skip to content

Commit

Permalink
fix(express): Re-export Router (#3349)
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl authored Nov 27, 2023
1 parent ab0cc7e commit 0cbdb03
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/express/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ import { rest, RestOptions, formatter } from './rest'
import { errorHandler, notFound, ErrorHandlerOptions } from './handlers'
import { Application, ExpressOverrides } from './declarations'
import { AuthenticationSettings, authenticate, parseAuthentication } from './authentication'
import { default as original, static as serveStatic, json, raw, text, urlencoded, query } from 'express'
import {
default as original,
static as serveStatic,
json,
raw,
text,
urlencoded,
query,
Router
} from 'express'

export {
original,
Expand All @@ -21,6 +30,7 @@ export {
urlencoded,
query,
rest,
Router,
RestOptions,
formatter,
errorHandler,
Expand Down

0 comments on commit 0cbdb03

Please sign in to comment.