You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/06/29 22:43:23 UTC

[GitHub] [echarts] Fulguritude opened a new issue #15262: Wrong type for svg handling in .d.ts

Fulguritude opened a new issue #15262:
URL: https://github.com/apache/echarts/issues/15262


   ### Version
   5.1.2
   
   ### Steps to reproduce
   Trying to use an svg in typescript is impossible because of a type error in the following files:
   
   Type: GeoSVGSourceInput
   
   - echarts/types/dist/shared.d.ts line 6798
   - echarts/types/dist/echarts.d.ts line 6796
   - echarts/types/src/coord/geo/geoTypes.d.ts line 5
   
   As per your documentation, the type union should contain the `string` type, however, that is instead replaced by the `"string"` type (notice the extraneous quotations): this is a type which can only be the single string "string", and not any other string.
   
   ### What is expected?
   The type `string` and not the type `"string"` in all 3 locations mentioned above.
   
   ### What is actually happening?
   A type constraint which is meaningless and feature-breaking.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #15262: Wrong type for svg handling in .d.ts

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15262:
URL: https://github.com/apache/echarts/issues/15262#issuecomment-870966624


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
   
   *A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
   
   You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] pissang closed issue #15262: Wrong type for svg handling in .d.ts

Posted by GitBox <gi...@apache.org>.
pissang closed issue #15262:
URL: https://github.com/apache/echarts/issues/15262


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org