11 lines
283 B
Plaintext
11 lines
283 B
Plaintext
|
/**
|
||
|
* Escape fieldname following the spec requirements.
|
||
|
*
|
||
|
* See: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data
|
||
|
*
|
||
|
* @param name A fieldname to escape
|
||
|
*
|
||
|
* @api private
|
||
|
*/
|
||
|
export declare const escapeName: (name: unknown) => string;
|