aboutsummaryrefslogtreecommitdiff
path: root/src/FileRouter.ts
diff options
context:
space:
mode:
authorTom Harley2018-03-27 19:19:16 +0100
committerTom Harley2018-03-27 19:19:16 +0100
commit150115e855e2c406b23aa569dd675597d6957570 (patch)
tree7cb6cbbc7e7f2911596bb1f03dbcedd8b10e0e49 /src/FileRouter.ts
parentMerge branch 'cjd24/conversion' into development (diff)
parentCentralise test configuration and introduce SQLite (diff)
downloadmedicine-150115e855e2c406b23aa569dd675597d6957570.tar.gz
medicine-150115e855e2c406b23aa569dd675597d6957570.zip

Merge branch ‘testing-middleware’ into development

Diffstat (limited to 'src/FileRouter.ts')
-rw-r--r--src/FileRouter.ts2
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;
/**