cordova-plugin-fcm-with-dependecy-updated
Version:
Google Firebase Cloud Messaging Cordova Push Plugin fork with dependecy updated
10 lines (9 loc) • 392 B
TypeScript
/**
* This is a simple helper to Promisify the calls to cordova
*
* @param {string} command The native cordova implementation command
* @param {unknown[]} args The native cordova implementation expected arguments
*
* @returns {Promise<R>} Returns from the async native call the type expected
*/
export declare const execAsPromise: <R>(command: string, args?: unknown[]) => Promise<R>;