I'm simulating a paste action in an electron app, like this keyTap('v', process.platform === 'darwin' ? 'command' : 'control') but I got a warning from typescript about the first argument of keyTap that it should be one of this values, which is wrong, the code works, but the typescript type (keys) is incomplete
I'm simulating a paste action in an electron app, like this
keyTap('v', process.platform === 'darwin' ? 'command' : 'control')
but I got a warning from typescript about the first argument of keyTap that it should be one of this values, which is wrong, the code works, but the typescript type (keys) is incompleteExpected Behavior
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
1. 2. 3. 4.
Context
Your Environment