feat:add toast bridge

This commit is contained in:
pengfei.zhou
2019-11-20 17:24:50 +08:00
parent 38823700a2
commit d495043dc9
9 changed files with 96 additions and 7 deletions

View File

@@ -15,8 +15,10 @@
*/
export * from 'reflect-metadata'
export type BridgeContext = { [index: string]: { [index: string]: (args?: any) => Promise<any> } }
declare global {
const context: { [index: string]: { [index: string]: (args?: any) => Promise<any> } };
const context: BridgeContext
function Entry(constructor: { new(...args: any[]): {} }): any
}
export { }