fix(firebase-x): change incrementCounter signature (#4010)

This commit is contained in:
TAKUYA NAKAYASU 2022-02-01 18:30:38 +09:00 committed by GitHub
parent 24c61a50a7
commit bb1f3268de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -849,10 +849,11 @@ export class FirebaseX extends AwesomeCordovaNativePlugin {
* using a string other than retry to name that event if you are counting a different type of event.
*
* @param {string} name
* @param {string} counterName
* @returns {Promise<any>}
*/
@Cordova()
incrementCounter(name: string): Promise<any> {
incrementCounter(name: string, counterName: string): Promise<any> {
return;
}