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

wip(uts): compiler

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