Identify return type of an expression written in monaco editor using API #4690
Unanswered
NrujalSharma
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using monaco editor and have a class declared as follows and added using the addExtraLib to the editor
In the editor the user can write something like:
and I need to be able to identfy that the return type of this is
boolean
And the user can also write something something like:
and I need to be able to identfy that the return type of this is
string
User can write any other type of expression using the user class and I want to identify the return type of that code snippet
How to do that?
Beta Was this translation helpful? Give feedback.
All reactions