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

wip(uts): compiler

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