Add basic type definitions for express 4.x

This commit is contained in:
Santi Albo
2014-06-03 13:23:04 +01:00
parent 9ff1cf69b3
commit 57a3b6e1b8
14 changed files with 3514 additions and 2332 deletions
+12
View File
@@ -0,0 +1,12 @@
// Type definitions for body-parser
// Project: http://expressjs.com
// Definitions by: Santi Albo <https://github.com/santialbo/>
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../express/express.d.ts" />
declare module "body-parser" {
import express = require('express');
function e(options?: any): express.RequestHandler;
export = e;
}