From 96b97cf4626f116eb14fcc09aaab3ca41a6e2792 Mon Sep 17 00:00:00 2001 From: vvakame Date: Sat, 21 Mar 2015 01:24:23 +0900 Subject: [PATCH] add html5mode definitions on ILocationProvider --- angularjs/angular.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index bc7fa9de0e..9f7efea892 100755 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -586,13 +586,13 @@ declare module angular { } interface IScope extends IRootScopeService { } - + /** * $scope for ngRepeat directive. * see https://docs.angularjs.org/api/ng/directive/ngRepeat */ interface IRepeatScope extends IScope { - + /** * iterator offset of the repeated element (0..length-1). */ @@ -622,7 +622,7 @@ declare module angular { * true if the iterator position $index is odd (otherwise false). */ $odd: boolean; - + } interface IAngularEvent { @@ -891,6 +891,7 @@ declare module angular { // implementation tests it as boolean, which makes more sense // since this is a toggler html5Mode(active: boolean): ILocationProvider; + html5Mode(mode: { enabled?: boolean; requireBase?: boolean; rewriteLinks?: boolean; }): ILocationProvider; } ///////////////////////////////////////////////////////////////////////////