@hashrytech/quick-components-kit 0.15.3 → 0.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* @param {Record<string, any>} obj - The object to convert to FormData.
|
|
6
6
|
* @returns {FormData} - The resulting FormData object.
|
|
7
7
|
*/
|
|
8
|
-
export declare function objectToFormData(obj:
|
|
8
|
+
export declare function objectToFormData(obj: any): FormData;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* @param {Record<string, any>} obj - The object to convert to FormData.
|
|
6
6
|
* @returns {FormData} - The resulting FormData object.
|
|
7
7
|
*/
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8
9
|
export function objectToFormData(obj) {
|
|
9
10
|
const formData = new FormData();
|
|
10
11
|
const replacer = (key, value) => {
|