(
readonly type: string,
init: Record<string, unknown> = {},
)
| 8 | defaultPrevented = false; |
| 9 | |
| 10 | constructor( |
| 11 | readonly type: string, |
| 12 | init: Record<string, unknown> = {}, |
| 13 | ) { |
| 14 | Object.assign(this, init); |
| 15 | } |
| 16 | |
| 17 | preventDefault() { |
| 18 | this.defaultPrevented = true; |
nothing calls this directly
no outgoing calls
no test coverage detected