feat: update csurf type definition

This commit is contained in:
Horiuchi_H
2016-07-04 11:46:19 +09:00
parent 70654e94b3
commit d1d106602a

4
csurf/csurf.d.ts vendored
View File

@@ -1,4 +1,4 @@
// Type definitions for csurf
// Type definitions for csurf 1.9.0
// Project: https://www.npmjs.org/package/csurf
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -17,6 +17,8 @@ declare module "csurf" {
function csurf(options?: {
value?: (req: express.Request) => string;
cookie?: csurf.CookieOptions | boolean;
ignoreMethods?: string[];
sessionKey?: string;
}): express.RequestHandler;
namespace csurf {