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/04/20 02:10:39 UTC

[GitHub] [echarts] shijieyao opened a new issue #14716: Typo in `src/util/types.ts`

shijieyao opened a new issue #14716:
URL: https://github.com/apache/echarts/issues/14716


   ### Version
   5.1.0
   
   ### Steps to reproduce
   It seems to a quick report of an easy-fix bug, so pardon me for not providing reproduction steps.
   
   ### What is expected?
   Successful compilation.
   
   ### What is actually happening?
   Error: node_modules/echarts/types/dist/echarts.d.ts:6391:14 - error TS1005: ']' expected.
   
   6391     [key in ${ComponentMainType}Index]: number;
                     ~
   node_modules/echarts/types/dist/echarts.d.ts:6391:38 - error TS1005: ';' expected.
   
   6391     [key in ${ComponentMainType}Index]: number;
                                             ~
   node_modules/echarts/types/dist/echarts.d.ts:6391:39 - error TS1128: Declaration or statement expected.
   
   6391     [key in ${ComponentMainType}Index]: number;
                                              ~
   node_modules/echarts/types/dist/echarts.d.ts:6392:1 - error TS1128: Declaration or statement expected.
   
   6392 } & {
        ~
   node_modules/echarts/types/dist/echarts.d.ts:6392:3 - error TS1109: Expression expected.
   
   6392 } & {
          ~
   node_modules/echarts/types/dist/echarts.d.ts:6393:29 - error TS1005: ',' expected.
   
   6393     [key in string]: unknown;
                                    ~m
   
   <!-- 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.

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 commented on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-822937348


   Hi @shijieyao . It's not a typo. It's because we are using typescript template string feature which is introduced in typescript@4.1.0. It's not expected and will break the project using older typescript versions. We will fix it ASAP. Thanks for the feedback


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] Abattista96 edited a comment on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
Abattista96 edited a comment on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-828987257


   > @Abattista96 5.1.1 should have fixed it. Do you mind providing your reproducible code?
   
   I updated the lib version from 4.9 to 5.1.0, now to 5.1.1.
   When i try to compile first time after the update i receive the error from some node_module not found, from the second compile the code give me the same error above and fail to compile in all cases. I really don't know what to do


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] pissang edited a comment on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-822937348


   Hi @shijieyao. Thanks for the feedback. It's not a typo. It's because we are using the typescript template string feature which is introduced in typescript@4.1.0. It's not expected and will break the project using older typescript versions. We will fix it ASAP.


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #14716: Typo in `src/util/types.ts`

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


   This issue is labeled with `priority: high`, which means it's a frequently asked problem and we will fix it ASAP.


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] shijieyao commented on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
shijieyao commented on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-822950784


   I see. Thanks for the prompt reply!


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] junchaohu commented on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
junchaohu commented on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-825489448


   Same issue here, wish for resolve


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] Abattista96 commented on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
Abattista96 commented on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-828483863


   I have the same issue, also with the last update 5.1.1


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] pissang edited a comment on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-822937348


   Hi @shijieyao. Thanks for the feedback. It's not a typo. It's because we are using the typescript template string feature which is introduced in typescript@4.1.0. It's not expected and will break the code using older typescript versions. We will fix it ASAP.


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] junchaohu commented on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
junchaohu commented on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-828901407


   @pissang  Already fixed in my project, thanks.


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] pissang closed issue #14716: Typo in `src/util/types.ts`

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


   


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #14716: Typo in `src/util/types.ts`

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


   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 **you have posted enough image to demo your request**. 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.

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] Abattista96 commented on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
Abattista96 commented on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-828987257


   > @Abattista96 5.1.1 should have fixed it. Do you mind providing your reproducible code?
   
   I updated the lib version from 4.9 to 5.1.0, now to 5.1.1.
   When i try to compile first time after the update i receive the error from some node_module unfinded, from the second compile the code give me the same error above and fail to compile in all cases. I really don't know what to do


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] pissang commented on issue #14716: Typo in `src/util/types.ts`

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #14716:
URL: https://github.com/apache/echarts/issues/14716#issuecomment-828895983


   @Abattista96 5.1.1 should have fixed it. Do you mind providing your reproducible code?


-- 
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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org