Skip to content

Commit 4975e93

Browse files
committed
Remove unnecessary type casting
1 parent 9f477ef commit 4975e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FormDataEncoder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class FormDataEncoder {
174174
`${this.#DASHES}${this.boundary}${this.#DASHES}${this.#CRLF.repeat(2)}`
175175
)
176176

177-
this.contentLength = String(this.#getContentLength())
177+
this.contentLength = this.#getContentLength()
178178

179179
this.headers = proxyHeaders(Object.freeze({
180180
"Content-Type": this.contentType,

0 commit comments

Comments
 (0)