Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问Egg最新版本支持ts、es6、import写法了么?现在阿里云短信node sdk,都用的es6语法! #5238

Open
pxim opened this issue Jul 20, 2023 · 2 comments

Comments

@pxim
Copy link

pxim commented Jul 20, 2023

请详细告知你的新点子(Nice Ideas):

  1. 期望Egg最新版本,可以正常使用es6,import,ts写法,(我在用的 egg^2.15.1 版本是不支持这个功能的,如果使用es6,会出现各种报错,奇怪问题)
  2. 现在好多库都用的es6,import,ts语法,比如 阿里云短信node sdk,旧版本的egg没办法用这些库,
@pxim pxim changed the title Egg最新版本支持ts、es6、import写法了没?现在阿里云短信node sdk,都用的es6语法! 请问Egg最新版本支持ts、es6、import写法了么?现在阿里云短信node sdk,都用的es6语法! Jul 20, 2023
@Wai-Dung
Copy link
Contributor

Wai-Dung commented Jul 20, 2023

目前应该仍在筹划进行中,可以参考:https://github.com/eggjs/tegg
或许对你有帮助哦。

@pxim
Copy link
Author

pxim commented Jul 20, 2023

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants