nemo-monaco-typescript

TypeScript and JavaScript language support for Monaco Editor

Usage no npm install needed!

<script type="module">
  import nemoMonacoTypescript from 'https://cdn.skypack.dev/nemo-monaco-typescript';
</script>

README

Monaco TypeScript

Simple TypeScript and JavaScript language support for the Monaco Editor.

typescript

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.

Issues

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

Installing

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

Development

  • git clone https://github.com/Microsoft/monaco-typescript
  • cd monaco-typescript
  • npm install .
  • npm run compile
  • 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.

License

MIT