docs(all): standardizes and adds return types, also some param fixes

This commit is contained in:
Alex Muramoto
2016-11-29 16:40:50 -06:00
parent b7a562053a
commit 3da2831779
88 changed files with 635 additions and 347 deletions
+6 -5
View File
@@ -41,7 +41,7 @@ export class Mixpanel {
static distinctId(): Promise<any> { return; }
/**
*
* @returns {Promise<any>}
*/
@Cordova()
static flush(): Promise<any> { return; }
@@ -52,7 +52,7 @@ export class Mixpanel {
* @returns {Promise<any>}
*/
@Cordova()
static identify(distinctId): Promise<any> { return; }
static identify(distinctId: string): Promise<any> { return; }
/**
*
@@ -64,7 +64,7 @@ export class Mixpanel {
/**
*
* @param superProperties
* @param superProperties {any}
* @returns {Promise<any>}
*/
@Cordova()
@@ -79,8 +79,9 @@ export class Mixpanel {
/**
*
* @param eventName
* @param eventProperties
* @param eventName {string}
* @param eventProperties {any} optional
* @returns {Promise<any>}
*/
@Cordova()
static track(eventName: string, eventProperties?: any): Promise<any> { return; }