fix(google-analytics): fix startTrackerWithId when interval is not provided

This commit is contained in:
Ibby 2017-01-01 06:30:33 -05:00
parent d9d89341d2
commit 49fe24dee2

View File

@ -41,7 +41,10 @@ export class GoogleAnalytics {
* @param {number} interval Optional dispatch period in seconds. Defaults to 30.
* @returns {Promise<any>}
*/
@Cordova()
@Cordova({
successIndex: 2,
errorIndex: 3
})
static startTrackerWithId(id: string, interval?: number): Promise<any> { return; }
/**