diff --git a/ejs-locals/ejs-locals-tests.ts b/ejs-locals/ejs-locals-tests.ts new file mode 100644 index 000000000..079837a5f --- /dev/null +++ b/ejs-locals/ejs-locals-tests.ts @@ -0,0 +1,8 @@ +/// +/// + +import express = require('express'); +import ejsLocals = require('ejs-locals'); + +var app: express.Express = express(); +app.engine('ejs', ejsLocals); \ No newline at end of file diff --git a/ejs-locals/ejs-locals.d.ts b/ejs-locals/ejs-locals.d.ts new file mode 100644 index 000000000..96f6db7e5 --- /dev/null +++ b/ejs-locals/ejs-locals.d.ts @@ -0,0 +1,11 @@ +// Type definitions for ejs-locals +// Project: https://github.com/randometc/ejs-locals +// Definitions by: jt000 +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +declare module "ejs-locals" { + + function ejsLocals(): Function; + + export = ejsLocals; +} \ No newline at end of file diff --git a/express-partials/express-partials-tests.ts b/express-partials/express-partials-tests.ts new file mode 100644 index 000000000..5ed5b8add --- /dev/null +++ b/express-partials/express-partials-tests.ts @@ -0,0 +1,8 @@ +/// +/// + +import express = require('express'); +import partials = require('express-partials'); + +var app: express.Express = express(); +app.use(partials()); \ No newline at end of file diff --git a/express-partials/express-partials.d.ts b/express-partials/express-partials.d.ts new file mode 100644 index 000000000..8a677961c --- /dev/null +++ b/express-partials/express-partials.d.ts @@ -0,0 +1,14 @@ +// Type definitions for express-partials +// Project: https://github.com/publicclass/express-partials +// Definitions by: jt000 +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// + +declare module "express-partials" { + import express = require('express'); + + function expressPartials(options?: any): express.RequestHandler; + + export = expressPartials; +} \ No newline at end of file