TypeScript/JavaScript language support for the Monaco Editor
Clone or download


Monaco TypeScript

Simple TypeScript and JavaScript language support for the Monaco Editor.


Note that this project focuses on single-file scenarios and that things like project-isolation, cross-file-features like Rename etc. are outside the scope of this project and not supported.


Please file issues concerning monaco-typescript in the monaco-editor repository.


This npm module is bundled and distributed in the monaco-editor npm module.


  • git clone https://github.com/Microsoft/monaco-typescript
  • cd monaco-typescript
  • npm install .
  • npm run watch
  • open $/monaco-typescript/test/index.html in your favorite browser.

Updating TypeScript

  • change typescript's version in package.json.
  • execute npm install .
  • execute npm run import-typescript
  • adopt new APIs

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.