mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
refactor: Cleanup options object parameters (#4296)
This commit is contained in:
parent
fbc4731256
commit
6443e4aed1
17 changed files with 110 additions and 164 deletions
6
cli/js/lib.deno.shared_globals.d.ts
vendored
6
cli/js/lib.deno.shared_globals.d.ts
vendored
|
@ -503,11 +503,11 @@ declare namespace __domTypes {
|
|||
readonly total: number;
|
||||
}
|
||||
export interface EventListenerOptions {
|
||||
capture: boolean;
|
||||
capture?: boolean;
|
||||
}
|
||||
export interface AddEventListenerOptions extends EventListenerOptions {
|
||||
once: boolean;
|
||||
passive: boolean;
|
||||
once?: boolean;
|
||||
passive?: boolean;
|
||||
}
|
||||
interface AbortSignal extends EventTarget {
|
||||
readonly aborted: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue