diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2021-09-02 18:28:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 18:28:12 -0400 |
commit | 987716798fb3bddc9abc7e12c25a043447be5280 (patch) | |
tree | acb14305d38d8ae78877e59e6faa66a66506eed3 /ext/web/lib.deno_web.d.ts | |
parent | 1bf7b90ca8ad8e2bf62e455c24d5498c9ee74a46 (diff) |
feat(fmt): add basic JS doc formatting (#11902)
Diffstat (limited to 'ext/web/lib.deno_web.d.ts')
-rw-r--r-- | ext/web/lib.deno_web.d.ts | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/ext/web/lib.deno_web.d.ts b/ext/web/lib.deno_web.d.ts index 3f110353f..7733c7a4f 100644 --- a/ext/web/lib.deno_web.d.ts +++ b/ext/web/lib.deno_web.d.ts @@ -22,54 +22,54 @@ interface EventInit { declare class Event { constructor(type: string, eventInitDict?: EventInit); /** Returns true or false depending on how event was initialized. True if - * event goes through its target's ancestors in reverse tree order, and - * false otherwise. */ + * event goes through its target's ancestors in reverse tree order, and + * false otherwise. */ readonly bubbles: boolean; cancelBubble: boolean; /** Returns true or false depending on how event was initialized. Its return - * value does not always carry meaning, but true can indicate that part of the - * operation during which event was dispatched, can be canceled by invoking - * the preventDefault() method. */ + * value does not always carry meaning, but true can indicate that part of the + * operation during which event was dispatched, can be canceled by invoking + * the preventDefault() method. */ readonly cancelable: boolean; /** Returns true or false depending on how event was initialized. True if - * event invokes listeners past a ShadowRoot node that is the root of its - * target, and false otherwise. */ + * event invokes listeners past a ShadowRoot node that is the root of its + * target, and false otherwise. */ readonly composed: boolean; /** Returns the object whose event listener's callback is currently being - * invoked. */ + * invoked. */ readonly currentTarget: EventTarget | null; /** Returns true if preventDefault() was invoked successfully to indicate - * cancellation, and false otherwise. */ + * cancellation, and false otherwise. */ readonly defaultPrevented: boolean; /** Returns the event's phase, which is one of NONE, CAPTURING_PHASE, - * AT_TARGET, and BUBBLING_PHASE. */ + * AT_TARGET, and BUBBLING_PHASE. */ readonly eventPhase: number; /** Returns true if event was dispatched by the user agent, and false - * otherwise. */ + * otherwise. */ readonly isTrusted: boolean; /** Returns the object to which event is dispatched (its target). */ readonly target: EventTarget | null; /** Returns the event's timestamp as the number of milliseconds measured - * relative to the time origin. */ + * relative to the time origin. */ readonly timeStamp: number; /** Returns the type of event, e.g. "click", "hashchange", or "submit". */ readonly type: string; /** Returns the invocation target objects of event's path (objects on which - * listeners will be invoked), except for any nodes in shadow trees of which - * the shadow root's mode is "closed" that are not reachable from event's - * currentTarget. */ + * listeners will be invoked), except for any nodes in shadow trees of which + * the shadow root's mode is "closed" that are not reachable from event's + * currentTarget. */ composedPath(): EventTarget[]; /** If invoked when the cancelable attribute value is true, and while - * executing a listener for the event with passive set to false, signals to - * the operation that caused event to be dispatched that it needs to be - * canceled. */ + * executing a listener for the event with passive set to false, signals to + * the operation that caused event to be dispatched that it needs to be + * canceled. */ preventDefault(): void; /** Invoking this method prevents event from reaching any registered event - * listeners after the current one finishes running and, when dispatched in a - * tree, also prevents event from reaching any other objects. */ + * listeners after the current one finishes running and, when dispatched in a + * tree, also prevents event from reaching any other objects. */ stopImmediatePropagation(): void; /** When dispatched in a tree, invoking this method prevents event from - * reaching any objects other than the current object. */ + * reaching any objects other than the current object. */ stopPropagation(): void; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; @@ -82,9 +82,9 @@ declare class Event { } /** - * EventTarget is a DOM interface implemented by objects that can receive events - * and may have listeners for them. - */ + * EventTarget is a DOM interface implemented by objects that can receive events + * and may have listeners for them. + */ declare class EventTarget { /** Appends an event listener for events whose type attribute value is type. * The callback argument sets the callback that will be invoked when the event @@ -240,7 +240,7 @@ declare class AbortController { /** Returns the AbortSignal object associated with this object. */ readonly signal: AbortSignal; /** Invoking this method will set this object's AbortSignal's aborted flag and - * signal to any observers that the associated activity is to be aborted. */ + * signal to any observers that the associated activity is to be aborted. */ abort(): void; } @@ -249,10 +249,10 @@ interface AbortSignalEventMap { } /** A signal object that allows you to communicate with a DOM request (such as a - * Fetch) and abort it if required via an AbortController object. */ + * Fetch) and abort it if required via an AbortController object. */ interface AbortSignal extends EventTarget { /** Returns true if this AbortSignal's AbortController has signaled to abort, - * and false otherwise. */ + * and false otherwise. */ readonly aborted: boolean; onabort: ((this: AbortSignal, ev: Event) => any) | null; addEventListener<K extends keyof AbortSignalEventMap>( |