Skip to content

Commit 2cab717

Browse files
committed
Fix a typo in defaultOptions variable name
1 parent bc52adf commit 2cab717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/FormDataEncoder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface FormDataEncoderOptions {
1919
enableAdditionalHeaders?: boolean
2020
}
2121

22-
const defaultOptionss: FormDataEncoderOptions = {
22+
const defaultOptions: FormDataEncoderOptions = {
2323
enableAdditionalHeaders: false
2424
}
2525

@@ -151,7 +151,7 @@ export class FormDataEncoder {
151151
// ? and go through entries during initialization.
152152
this.#form = form
153153

154-
this.#options = {...defaultOptionss, ...options}
154+
this.#options = {...defaultOptions, ...options}
155155

156156
this.#CRLF_BYTES = this.#encoder.encode(this.#CRLF)
157157
this.#CRLF_BYTES_LENGTH = this.#CRLF_BYTES.byteLength

0 commit comments

Comments
 (0)