* Create a shallow clone of `this` by constructing a new instance * and then shallow cloning data members.
(this: T)
| 287 | * and then shallow cloning data members. |
| 288 | */ |
| 289 | private clone<T extends BaseAPI>(this: T): T { |
| 290 | const constructor = this.constructor as any; |
| 291 | const next = new constructor(this.configuration); |
| 292 | next.middleware = this.middleware.slice(); |
| 293 | return next; |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | function isBlob(value: any): value is Blob { |
no outgoing calls
no test coverage detected