Permalink
Browse files

feat(configure): Add comments to RestOptions interface

  • Loading branch information...
pfurini committed Oct 28, 2016
1 parent e84a259 commit 46d91f341f9a6b346bdd85eecad0d007355cce98
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/config.js
@@ -1,7 +1,17 @@
import {HttpClient} from 'aurelia-fetch-client';
import {Rest} from './rest';

/**
* Represents the options to use when constructing a `Rest` instance.
*/
interface RestOptions {
/**
* `true` to use the traditional URI template standard (RFC6570) when building
* query strings from criteria objects, `false` otherwise. Default is `false`.
* NOTE: maps to `useTraditionalUriTemplates` parameter on `Rest` constructor.
*
* @type {boolean}
*/
useTraditionalUriTemplates?: boolean;
}

0 comments on commit 46d91f3

Please sign in to comment.