Update type definition to version 0.20.2

Newer version of Angulartics (0.20.2), brings a new feature that allows to exclude specific routes from pageview tracking.
Version release on 17/11/2015.
Project changes log: https://github.com/angulartics/angulartics/blob/master/CHANGELOG.md
Original plugin pull request and description: https://github.com/angulartics/angulartics/pull/419
This commit is contained in:
Nick
2015-12-11 11:45:17 +01:00
parent 5a8fc5ee71
commit 482c331129
+2 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for Angulartics v0.19.2
// Type definitions for Angulartics v0.20.2
// Project: http://luisfarzati.github.io/angulartics/
// Definitions by: Steven Fan <https://github.com/stevenfan>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -21,6 +21,7 @@ declare module angulartics {
interface IAnalyticsServiceProvider extends angular.IServiceProvider {
virtualPageviews(value: boolean): void;
excludeRoutes(value: string[]):void;
firstPageview(value: boolean): void;
withBase(value: boolean): void;
withAutoBase(value: boolean): void;