In VScode there is method hint:
and I can also click into the implement:
but when I trigger this code, I get error:
monacoRef.current.getValue is not a function
TypeError: monacoRef.current.getValue is not a function
the code is at GitHub: (can clone it to run)