提交 0a3b79b8 编写于 作者: fxy060608's avatar fxy060608

wip(uts): compiler

上级 0816b95b
......@@ -140,6 +140,7 @@ interface InvokeCallbackReturnRes {
type: 'return'
params?: unknown[]
errMsg?: string
errStackTrace?: string
}
interface InvokeCallbackParamsRes {
type: 'params'
......@@ -151,6 +152,7 @@ interface InvokeCallbackParamsRes {
interface InvokeSyncRes {
type: 'return'
errMsg?: string
errStackTrace?: string
params: unknown
}
type InvokeSyncCallback = (res: InvokeCallbackParamsRes) => void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册