diff --git a/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/cloud/CloudStorage.kt b/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/cloud/CloudStorage.kt index 251858f616..b1410c61bf 100644 --- a/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/cloud/CloudStorage.kt +++ b/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/cloud/CloudStorage.kt @@ -18,11 +18,11 @@ external interface CloudStorage { ): CloudStorage fun removeItem( key: CloudStorageKey, - callback: (e: Any?, success: Boolean?) -> Unit + callback: (e: Any?, success: Boolean?) -> Unit = definedExternally ): CloudStorage fun removeItems( key: Array, - callback: (e: Any?, success: Boolean?) -> Unit + callback: (e: Any?, success: Boolean?) -> Unit = definedExternally ): CloudStorage fun getKeys( callback: (e: Any?, success: Array?) -> Unit