We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d657e6 commit fb517ebCopy full SHA for fb517eb
1 file changed
packages/taro/types/api/cloud/index.d.ts
@@ -1,4 +1,4 @@
1
-import Taro, { DownloadTask, UploadTask } from "../../index"
+import Taro from "../../index"
2
3
declare module '../../index' {
4
namespace cloud {
@@ -212,6 +212,10 @@ declare module '../../index' {
212
213
/** 调用云托管参数 */
214
interface CallContainerParam < P extends string | TaroGeneral.IAnyObject | ArrayBuffer = any | any > {
215
+ config?:{
216
+ /** 微信云托管的环境ID, 如果在 Taro.cloud.init 中配置了env, 则可以不配置。 */
217
+ env: string,
218
+ }
219
/** 服务路径 */
220
path: string
221
/** HTTP请求方法,默认 GET */
0 commit comments