diff --git a/http-errors/http-errors-tests.ts b/http-errors/http-errors-tests.ts index 4403259008..37dc4b3cd8 100644 --- a/http-errors/http-errors-tests.ts +++ b/http-errors/http-errors-tests.ts @@ -4,6 +4,12 @@ import * as createError from 'http-errors'; import * as express from 'express'; +declare namespace Express { + export interface Request { + user: any + } +} + var app = express(); app.use(function (req, res, next) {