deno学习五 typescript + vscode 集成

deno 实际上也是一个typescript 的runtime,而且代码也是基于 ts 开发,目前社区也有了支持基于vscode 插件(新版本语法支持不好0.31.0)

vscode 插件安装

代码提示效果


不支持的语法,相关issue https://github.com/denoland/deno/issues/3301 

说明

除过使用vscode 插件意外,使用tsconfig.json 也是可以的,但是目前使用上一般,没有直接使用插件方便

参考资料

https://github.com/denoland/deno/issues/3301 
https://github.com/justjavac/typescript-deno-plugin

原文地址:https://www.cnblogs.com/rongfengliang/p/12234905.html