Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<div> console.log(e.keyCode))} />;
// each modifiers can be specified only once
<div>; //// TS2339: 'prevent' does not exist
<div>; //// TS2339: 'left' does not exist
<div>; //// TS2339: 'left' does not exist
<div>; //// TS2339: 'enter' does not exist
// key modifier can be specified only once
<div>; //// TS2339: 'esc' does not exist
<div>; //// TS2339: 'keys' does not exist
<div>; //// TS2339: 'enter' does not exist
// mouse button modifier can be specified only once
<div>; //// TS2339: 'right' does not exist
<div>; //// TS2339: 'left' does not exist
// key modifier and mouse button modifier can't be specified together
<div>; //// TS2339: 'middle' does not exist
<div>; //// TS2339: 'enter' does not exist
// xxx and noxxx can't be specified together
<div>; //// TS2339: 'noctrl' does not exist
<div>; //// TS2339: 'ctrl' does not exist
<div>; //// TS2339: 'noshift' does not exist
<div>; //// TS2339: 'shift' does not exist
<div>; //// TS2339: 'noalt' does not exist
<div>; //// TS2339: 'alt' does not exist
<div>; //// TS2339: 'nometa' does not exist
<div>; //// TS2339: 'meta' does not exist
// 'exact' and other modkey can't be specified together
<div>; //// TS2339: 'ctrl' does not exist</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<div>; //// TS2339: 'left' does not exist
<div>; //// TS2339: 'left' does not exist
<div>; //// TS2339: 'enter' does not exist
// key modifier can be specified only once
<div>; //// TS2339: 'esc' does not exist
<div>; //// TS2339: 'keys' does not exist
<div>; //// TS2339: 'enter' does not exist
// mouse button modifier can be specified only once
<div>; //// TS2339: 'right' does not exist
<div>; //// TS2339: 'left' does not exist
// key modifier and mouse button modifier can't be specified together
<div>; //// TS2339: 'middle' does not exist
<div>; //// TS2339: 'enter' does not exist
// xxx and noxxx can't be specified together
<div>; //// TS2339: 'noctrl' does not exist
<div>; //// TS2339: 'ctrl' does not exist
<div>; //// TS2339: 'noshift' does not exist
<div>; //// TS2339: 'shift' does not exist
<div>; //// TS2339: 'noalt' does not exist
<div>; //// TS2339: 'alt' does not exist
<div>; //// TS2339: 'nometa' does not exist
<div>; //// TS2339: 'meta' does not exist
// 'exact' and other modkey can't be specified together
<div>; //// TS2339: 'ctrl' does not exist
<div>; //// TS2339: 'exact' does not exist
<div>; //// TS2339: 'exact' does not exist
}
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>