We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ec03dd commit 0929f73Copy full SHA for 0929f73
firebase-common/src/jsMain/kotlin/dev/teamhub/firebase/externals.kt
@@ -90,7 +90,6 @@ external object firebase {
90
val data: Any?
91
}
92
interface HttpsCallable {
93
- operator fun invoke(data: Any? = definedExternally): Promise<HttpsCallableResult>
94
95
96
@@ -228,3 +227,7 @@ external object firebase {
228
227
229
230
+
231
+operator fun firebase.functions.HttpsCallable.invoke() = asDynamic()() as Promise<firebase.functions.HttpsCallableResult>
232
+operator fun firebase.functions.HttpsCallable.invoke(data: Any?) = asDynamic()(data) as Promise<firebase.functions.HttpsCallableResult>
233
0 commit comments