Files
metacryst 637c9e4674 init
2026-01-09 11:14:27 -06:00

15 lines
492 B
TypeScript

/**
* Expose CapacitorUtils.Synapse.<pluginName>
*
* By default it decides to use capacitor if is defined.
* If you want to instead use a cordova plugin in a capacitor shell, set overrideCapacitorWithCordova to true.
*
* Example use:
* window.CapacitorUtils.Synapse.DemoPlugin.ping(
* {value: "hello"},
* (val) => {console.log(val)},
* (err) => {console.error(err)}
* );
*/
export declare function exposeSynapse(overrideCapacitorWithCordova?: boolean): void;