UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

15 lines (11 loc) 546 B
// Type definitions for falcor-express 0.1.2 // Project: https://github.com/Netflix/falcor-express // Definitions by: Quramy <https://github.com/Quramy/> // Definitions: https://github.com/borisyankov/DefinitelyTyped /// <reference path="../falcor/falcor.d.ts" /> /// <reference path="../express/express.d.ts" /> declare module 'falcor-express' { import {Request, Response, Handler} from 'express'; import {DataSource} from 'falcor'; function dataSourceRoute(getDataSource: (req: Request, res: Response) => DataSource): Handler; }