Created
April 26, 2017 19:41
-
-
Save tlakomy/71153238662af3781732a0ff82597058 to your computer and use it in GitHub Desktop.
MouseEvent instead of DOMEvent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend/Draggable.js:18 | |
18: _onMove: (evt: MouseEvent) => void; | |
^^^^^^^^^^ Event. Covariant property `preventDefault` incompatible with invariant use in | |
44: onMove(evt: DOMEvent) { | |
^^^^^^^^ object type | |
frontend/Draggable.js:18 | |
18: _onMove: (evt: MouseEvent) => void; | |
^^^^^^^^^^ Event. Covariant property `stopPropagation` incompatible with invariant use in | |
44: onMove(evt: DOMEvent) { | |
^^^^^^^^ object type | |
frontend/Draggable.js:19 | |
19: _onUp: (evt: MouseEvent) => void; | |
^^^^^^^^^^ Event. Covariant property `preventDefault` incompatible with invariant use in | |
49: onUp(evt: DOMEvent) { | |
^^^^^^^^ object type | |
frontend/Draggable.js:19 | |
19: _onUp: (evt: MouseEvent) => void; | |
^^^^^^^^^^ Event. Covariant property `stopPropagation` incompatible with invariant use in | |
49: onUp(evt: DOMEvent) { | |
^^^^^^^^ object type | |
frontend/Draggable.js:44 | |
44: onMove(evt: DOMEvent) { | |
^^^^^^^^ property `cancelBubble`. Property not found in | |
18: _onMove: (evt: MouseEvent) => void; | |
^^^^^^^^^^ MouseEvent | |
frontend/Draggable.js:44 | |
44: onMove(evt: DOMEvent) { | |
^^^^^^^^ property `keyCode`. Property not found in | |
18: _onMove: (evt: MouseEvent) => void; | |
^^^^^^^^^^ MouseEvent | |
frontend/Draggable.js:44 | |
44: onMove(evt: DOMEvent) { | |
^^^^^^^^ property `key`. Property not found in | |
18: _onMove: (evt: MouseEvent) => void; | |
^^^^^^^^^^ MouseEvent | |
frontend/Draggable.js:49 | |
49: onUp(evt: DOMEvent) { | |
^^^^^^^^ property `cancelBubble`. Property not found in | |
19: _onUp: (evt: MouseEvent) => void; | |
^^^^^^^^^^ MouseEvent | |
frontend/Draggable.js:49 | |
49: onUp(evt: DOMEvent) { | |
^^^^^^^^ property `keyCode`. Property not found in | |
19: _onUp: (evt: MouseEvent) => void; | |
^^^^^^^^^^ MouseEvent | |
frontend/Draggable.js:49 | |
49: onUp(evt: DOMEvent) { | |
^^^^^^^^ property `key`. Property not found in | |
19: _onUp: (evt: MouseEvent) => void; | |
^^^^^^^^^^ MouseEvent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment