feat:rename file

This commit is contained in:
pengfei.zhou 2019-11-21 15:51:18 +08:00
parent e220faa03a
commit 1bf56b71d5
2 changed files with 2 additions and 2 deletions

View File

@ -28,4 +28,4 @@ export * from './src/util/gravity'
export * from './src/util/candies'
export * from './src/vm/mvvm'
export * from './src/runtime/global'
export * from './src/util/modal'
export * from './src/util/nativeModules'

View File

@ -55,7 +55,7 @@ export function modal(context: BridgeContext) {
text?: string,
defaultText?: string,
}) => {
return context.modal.prompt(arg)
return context.modal.prompt(arg) as Promise<string>
},
}
}