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

wip(uts): compiler

上级 d45d0849
......@@ -263,6 +263,8 @@ async function parseInterfaceTypes(
const params = createParams(node.declaration.typeAnnotation.params)
if (params.length) {
types[node.declaration.id.value] = params
} else {
types[node.declaration.id.value] = []
}
break
case 'TsTypeLiteral':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册