diff options
| author | Tom Harley | 2018-03-27 19:19:16 +0100 |
|---|---|---|
| committer | Tom Harley | 2018-03-27 19:19:16 +0100 |
| commit | 150115e855e2c406b23aa569dd675597d6957570 (patch) | |
| tree | 7cb6cbbc7e7f2911596bb1f03dbcedd8b10e0e49 /src/FileRouter.ts | |
| parent | Merge branch 'cjd24/conversion' into development (diff) | |
| parent | Centralise test configuration and introduce SQLite (diff) | |
| download | medicine-150115e855e2c406b23aa569dd675597d6957570.tar.gz medicine-150115e855e2c406b23aa569dd675597d6957570.zip | |
Merge branch ‘testing-middleware’ into development
Diffstat (limited to 'src/FileRouter.ts')
| -rw-r--r-- | src/FileRouter.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileRouter.ts b/src/FileRouter.ts index f8f569d..b3b1a38 100644 --- a/src/FileRouter.ts +++ b/src/FileRouter.ts @@ -19,7 +19,7 @@ const BASE_FILE_STORAGE: string = 'TODO: figure this out'; /** * The type of an Express middleware callback. */ -type Middleware = +export type Middleware = (req: Request, res: Response, next: NextFunction) => void; /** |
