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

wip(x-android): tsc

上级 447d7cf1
......@@ -128,9 +128,11 @@ export function rewriteSourceMap(
const start = node.id!.loc!.start
s.appendRight(
startOffset + node.body.start! + 1,
` override __$getOriginalPosition(): UTSSourceMapPosition { return new UTSSourceMapPosition("${
`\n// @ts-expect-error \noverride __$getOriginalPosition(): UTSSourceMapPosition { return new UTSSourceMapPosition("${
node.id!.name
}", "${fileName}", ${startLine + start.line}, ${start.column + 1});} `
}", "${fileName}", ${startLine + start.line}, ${
start.column + 1
});}\n`
)
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册