apache / dubbo-js

The Typescript implementation of Apache Dubbo. An RPC and microservice framework for Node.js and Web development.
https://dubbo.apache.org/
Apache License 2.0
766 stars 160 forks source link

Type 'xxx' has no properties in common with type '{ __fields2java?(): any; }' #241

Closed ww8912188 closed 2 years ago

ww8912188 commented 3 years ago

Hi guys,

I tried to interpreter java to ts and confronted below issue after translated:

export interface IIAssetTagApi {
  fetchAssetTagsByBizKey(
    request: APIRequest<BizKeyRequest>,
  ): TDubboCallResult<APIResponse<Array<BizAssetTagRelationVo>>>;

TS complied failed for:

Type 'BizAssetTagRelationVo[]' has no properties in common with type '{ __fields2java?(): any; }'.

Could someone shine some light on this issue please? Really appreciate.

Regards, Nan

hufeng commented 3 years ago

Can you provide a complete demo?