UNPKG

declarations

Version:

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

24 lines (18 loc) 785 B
// Type definitions for falcor-http-datasource 0.1.3 // Project: https://github.com/Netflix/falcor-http-datasource // Definitions by: Quramy <https://github.com/Quramy/> // Definitions: https://github.com/borisyankov/DefinitelyTyped /// <reference path="../falcor/falcor.d.ts" /> declare namespace FalcorHttpDataSource { /** * A HttpDataSource object is a {@link DataSource} can be used to retrieve data from a remote JSONGraph object using the browser's XMLHttpRequest. **/ class XMlHttpSource extends FalcorModel.DataSource { constructor(jsonGraphUrl: string, config?: any); } } declare module 'falcor-http-datasource' { import XMlHttpSource = FalcorHttpDataSource.XMlHttpSource; export {XMlHttpSource}; export default XMlHttpSource; }