You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/07/09 01:13:23 UTC

[GitHub] [dubbo-js] JoverZhang opened a new issue #215: Error: parameter is not assignable.

JoverZhang opened a new issue #215:
URL: https://github.com/apache/dubbo-js/issues/215


   **My Question**
   
   env:
   > node 14.3.0 + typescript 3.9.6.
   
   I copy following code from usage, it just show me some error. I can't fix it.
   ```typescript
   const dubbo = new Dubbo({
     application: {name: 'node-dubbo'},
     register: 'localhost:2181',
     dubboVersion: '2.0.0', // error: not assignable to parameter of type 'IDubboProps'.
     interfaces: ['com.alibaba.dubbo.demo.DemoService'], // error: not assignable to parameter of type 'IDubboProps'.
   });
   ```
   
   Maybe the documentation is not updated?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-js] hufeng closed issue #215: Error: parameter is not assignable.

Posted by GitBox <gi...@apache.org>.
hufeng closed issue #215:
URL: https://github.com/apache/dubbo-js/issues/215


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-js] godkun commented on issue #215: Error: parameter is not assignable.

Posted by GitBox <gi...@apache.org>.
godkun commented on issue #215:
URL: https://github.com/apache/dubbo-js/issues/215#issuecomment-682036290


   demo没有更新,没有dubboVersion这个字段了


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org