Skip to content

Commit b45963c

Browse files
committed
Fix onloadend setter type signature.
1 parent 49ae904 commit b45963c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/Utils/XHRRequestInterceptor/CustomXMLHttpRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class CustomXMLHttpRequest extends XMLHttpRequest {
3838
return super.onloadend
3939
}
4040

41-
set onloadend (callback: (event: ProgressEvent) => void | null) {
41+
set onloadend (callback: ((event: ProgressEvent) => void) | null) {
4242
super.onloadend = event => {
4343
CustomXMLHttpRequest.interceptCallback?.(this, 'loadend')
4444
callback?.(event)

0 commit comments

Comments
 (0)