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

wip(uts): compiler

上级 ebcfd194
......@@ -4,12 +4,12 @@ import { compileSwift, parseSwiftPackage } from './swift'
export function getCompiler(type: 'kotlin' | 'swift') {
if (type === 'swift') {
return {
compile: compileKotlin,
parsePackage: parseKotlinPackage,
compile: compileSwift,
parsePackage: parseSwiftPackage,
}
}
return {
compile: compileSwift,
parsePackage: parseSwiftPackage,
compile: compileKotlin,
parsePackage: parseKotlinPackage,
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册