@nestia/fetcher 3.14.0-dev.20240917 → 3.14.0-dev.20240918
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/lib/FormDataInput.d.ts +1 -1
- package/package.json +1 -1
- package/src/FormDataInput.ts +1 -5
package/lib/FormDataInput.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare namespace FormDataInput {
|
|
|
41
41
|
* type of `File` and {@link IFileProps} type which is a structured data for the
|
|
42
42
|
* URI file location in the React Native environment.
|
|
43
43
|
*/
|
|
44
|
-
type Value<T> = T extends File ? T | IFileProps : T
|
|
44
|
+
type Value<T> = T extends File ? T | IFileProps : T;
|
|
45
45
|
/**
|
|
46
46
|
* Properties of a file.
|
|
47
47
|
*
|
package/package.json
CHANGED
package/src/FormDataInput.ts
CHANGED
|
@@ -48,11 +48,7 @@ export namespace FormDataInput {
|
|
|
48
48
|
* type of `File` and {@link IFileProps} type which is a structured data for the
|
|
49
49
|
* URI file location in the React Native environment.
|
|
50
50
|
*/
|
|
51
|
-
export type Value<T> = T extends File
|
|
52
|
-
? T | IFileProps
|
|
53
|
-
: T extends object
|
|
54
|
-
? never
|
|
55
|
-
: T;
|
|
51
|
+
export type Value<T> = T extends File ? T | IFileProps : T;
|
|
56
52
|
|
|
57
53
|
/**
|
|
58
54
|
* Properties of a file.
|