monaco-editor中编写ts

monaco-editor中编写ts

· 1 分钟阅读时长

Web端提供一个monacoTS编辑器,这里是一些设置

  1. editor中声明语言typescript
  2. typescript语言添加类型声明-addExtraLib

除此之外就是一些常见设置,比如Minimap/Width/Height/Theme等

Alan He
Authors
开发者,数码产品爱好者,喜欢折腾,喜欢分享,喜欢开源