iohook
iohook copied to clipboard
Error when importing into angular component.
trafficstars
I have installed the newest version 0.9.3, If I include iohook in main.ts all is working fine. But when importing into an angular component, I am getting a console error.
Expected Behavior
Importing into angular component should work as intended:
const ioHook = require('iohook');
Current Behavior
Causes console error when running the application in both electron and browser

Possible Solution
N/A
Steps to Reproduce (for bugs)
Install iohook using npm, require iohook in an angular component.
Context
Global keypress
Your Environment
Electron 12.X.X Node 15.X.X
- IOHook Version: 0.9.3
- Operating System and version (desktop or mobile): desktop debian popos