chore: fix the compilation for typescript 4.4 (#2623)
This commit is contained in:
parent
b9dffcafd3
commit
d128f0ff4e
|
|
@ -30,7 +30,7 @@ export type OpenFunction = (
|
|||
/**
|
||||
* method "send" from XMLHttpRequest
|
||||
*/
|
||||
export type SendFunction = (body?: SendBody) => void;
|
||||
export type SendFunction = typeof XMLHttpRequest.prototype.send;
|
||||
|
||||
export type SendBody =
|
||||
| string
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@
|
|||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"target": "es2017"
|
||||
"target": "es2017",
|
||||
"useUnknownInCatchVariables": false
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
|
|
|
|||
Loading…
Reference in New Issue