Skip to content

Commit

Permalink
Make onabort&addEventListener&removeEventListener of GenericAbortSign…
Browse files Browse the repository at this point in the history
…al interface optional; (#5021)
  • Loading branch information
DigitalBrainJS committed Oct 6, 2022
1 parent 3e4d521 commit e757e0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.d.ts
Expand Up @@ -210,10 +210,10 @@ export interface TransitionalOptions {
}

export interface GenericAbortSignal {
aborted: boolean;
onabort: ((...args: any) => any) | null;
addEventListener: (...args: any) => any;
removeEventListener: (...args: any) => any;
readonly aborted: boolean;
onabort?: ((...args: any) => any) | null;
addEventListener?: (...args: any) => any;
removeEventListener?: (...args: any) => any;
}

export interface FormDataVisitorHelpers {
Expand Down

0 comments on commit e757e0e

Please sign in to comment.