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 |  * method "send" from XMLHttpRequest | ||||||
|  */ |  */ | ||||||
| export type SendFunction = (body?: SendBody) => void; | export type SendFunction = typeof XMLHttpRequest.prototype.send; | ||||||
| 
 | 
 | ||||||
| export type SendBody = | export type SendBody = | ||||||
|   | string |   | string | ||||||
|  |  | ||||||
|  | @ -19,7 +19,8 @@ | ||||||
|     "sourceMap": true, |     "sourceMap": true, | ||||||
|     "strict": true, |     "strict": true, | ||||||
|     "strictNullChecks": true, |     "strictNullChecks": true, | ||||||
|     "target": "es2017" |     "target": "es2017", | ||||||
|  |     "useUnknownInCatchVariables": false | ||||||
|   }, |   }, | ||||||
|   "exclude": [ |   "exclude": [ | ||||||
|     "node_modules" |     "node_modules" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue