Skip to content

Commit 36f1ce4

Browse files
authored
fix: Fix MonkeyPatch types arg. (#223)
1 parent b0413f4 commit 36f1ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/event-plugins/XhrPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class XhrPlugin extends MonkeyPatched<XMLHttpRequest, 'send' | 'open'> {
118118
nodule: XMLHttpRequest.prototype,
119119
name: 'open' as const,
120120
wrapper: this.openWrapper
121-
} as MonkeyPatch<XMLHttpRequest, 'open'>
121+
} as MonkeyPatch<XMLHttpRequest, 'send' | 'open'>
122122
];
123123
}
124124

0 commit comments

Comments
 (0)