如何在线将typescript编译或转化成javascript?这也常称为ts2js操作。
可以使用JShaman的在线工具:
![]()
具体进入方式,先打开JShaman官网,点击右下角的“更多功能”:
![]()
在打开的菜单中选择“TS转JS”:
![]()
使用非常简单,输入typescript代码,点击转化,即可编译生成js代码:
![]()
编译生成的JS代码:
![]()
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.