CodeEditor doesn't support typescript/javascript

Currently grafana has removed typescript which causes an error in the console if javascript is used. Is there a way to trick the editor to use javascript without getting the error in the console.

image

Hi @zuperzee

Can you try explaining your problem again? Are you encountering this error while try to build grafana from source?

I’ve made a PR which will hopefully fix this. Monaco: Add javascript and typescript support by ZuperZee · Pull Request #38703 · grafana/grafana · GitHub</tit
Here is a better explanation if you’re curious CodeEditor using javascript/typescript causes an error in the console · Issue #38700 · grafana/grafana · GitHub

1 Like

@zuperzee nicely done with the PR! :grafana: :heart:

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.