Commit a0d70aa
fix: restore instance-level Event phase declarations without readonly
Flow needs the instance-level field declarations (NONE, CAPTURING_PHASE,
AT_TARGET, BUBBLING_PHASE) to know these properties exist on Event
instances. The previous commit removed them entirely, causing 12 Flow
prop-missing errors. This restores them without the `readonly` modifier
so Hermes won't create non-writable properties that conflict with the
Object.defineProperty calls.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 2dafc35 commit a0d70aa
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
| |||
0 commit comments