1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00

docs: typo fixlet in worker type comment (#21268)

This commit is contained in:
Jérôme Benoit 2023-11-20 12:34:01 +01:00 committed by GitHub
parent 93c4c1a2c1
commit 0205cff834
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2628,7 +2628,7 @@ interface EventTarget {
*/
addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
/**
* Dispatches a synthetic event to target event and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
* Dispatches a synthetic event to event target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
*/