monaco-languageclient
monaco-languageclient copied to clipboard
No type error indication on typescript example
Hello! Thank you for creating and maintaining this library.
I've successfully replicated the typescript example, but I notice both in my implementation and the hosted example type errors are not highlighted.
Specifically, the following code displays no errors:
const takesString = (x: string) => {};
takesString(0);
Screenshot (from hosted example):
However, a standard instance of monaco editor (instantiated via the "@monaco-editor/react" component) does highlight this error:
Screenshot:
Is this expected, and perhaps just a limitation of the typescript service? Or is this an error?