Skip to content
Permalink
Browse files
fix: wrong module name
  • Loading branch information
Bill committed Aug 11, 2021
1 parent 56bc66c commit 312ac74e9386b9942ee0935d829bb007c0b112c5
Showing 2 changed files with 3 additions and 3 deletions.
@@ -92,7 +92,7 @@ export async function toInterface(

intepretHandle.sourceFile.addImport({
moduleSpecifier: 'interpret-util',
defaultImport: `{${extraImport.join(',')}}`
defaultImport: `{ ${extraImport.join(', ')} }`
})

log('转换 名称::%s 属性 :%j 方法:%j', typeDef.name, properties, methods)
@@ -64,8 +64,8 @@ export async function toTypescript(
sourceFile.addInterface(await toInterface(astJava, intepretHandle))
sourceFile.addVariableStatement(toWrapperClass(astJava, intepretHandle))
sourceFile.addImport({
moduleSpecifier: 'dubbo-js',
defaultImport: '{TDubboCallResult,Dubbo}'
moduleSpecifier: 'apache-dubbo-consumer',
defaultImport: '{ TDubboCallResult, Dubbo }'
})
sourceFile.addFunction(
toProxyFunc({

0 comments on commit 312ac74

Please sign in to comment.