I am developing a plugin for authentication in Kibana 7.8 oss version
In that plugin, showing error while using console.log() statement
For resolving the error, I tried to declare console variable first and gave it Console type and then used console.log(). But didn't work
Here's the code:
let console: Console; console.log('Attempt to login with google');
Here's the error:
Uncaught TypeError: Cannot read property 'log' of undefined
How to use console.log() and debugger in plugin components
Is there any dev mode?