From c6ad01fb488bc732528057bbd9db6755e1a1c8b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Crist=C3=B3v=C3=A3o?= Date: Tue, 6 Dec 2016 13:37:31 +0000 Subject: [PATCH] csurf.d.ts relying on CookieOptions from express It seems express no longer exports `CookieOptions`, we need to import `express-serve-static-core` instead. --- csurf/csurf.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csurf/csurf.d.ts b/csurf/csurf.d.ts index 3d213c76cd..7a2f9c055a 100644 --- a/csurf/csurf.d.ts +++ b/csurf/csurf.d.ts @@ -12,7 +12,7 @@ declare namespace Express { } declare module "csurf" { - import express = require('express'); + import express = require('express-serve-static-core'); function csurf(options?: { value?: (req: express.Request) => string;