Skip to content

Commit dbca04e

Browse files
author
Matthew Johnston
committed
Fix Event constructor self-conflict on Hermes
1 parent eaf7704 commit dbca04e

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

  • packages/react-native/src/private/webapis/dom/events

packages/react-native/src/private/webapis/dom/events/Event.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ export interface EventInit {
4545
}
4646

4747
export default class Event {
48-
static readonly NONE: 0;
49-
static readonly CAPTURING_PHASE: 1;
50-
static readonly AT_TARGET: 2;
51-
static readonly BUBBLING_PHASE: 3;
52-
53-
readonly NONE: 0;
54-
readonly CAPTURING_PHASE: 1;
55-
readonly AT_TARGET: 2;
56-
readonly BUBBLING_PHASE: 3;
57-
5848
_bubbles: boolean;
5949
_cancelable: boolean;
6050
_composed: boolean;

0 commit comments

Comments
 (0)