We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a44694 commit 5e4daebCopy full SHA for 5e4daeb
src/FormDataEncoder.ts
@@ -254,6 +254,7 @@ export class FormDataEncoder {
254
*
255
* @deprecated Use FormDataEncoder.contentLength or FormDataEncoder.headers["Content-Length"] instead
256
*/
257
+ /* c8 ignore next 3 */
258
getContentLength(): number | undefined {
259
return this.contentLength == null ? undefined : Number(this.contentLength)
260
}
0 commit comments