@nestia/fetcher 3.14.0-dev.20240917 → 3.14.0
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 -2
- package/package.json +1 -1
- package/src/FormDataInput.ts +1 -6
package/lib/FormDataInput.d.ts
CHANGED
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
* `number` | `number`
|
|
24
24
|
* `string` | `string`
|
|
25
25
|
* `File` | `File \| IFileProps`
|
|
26
|
-
* `Object` | `never`
|
|
27
26
|
*
|
|
28
27
|
* @template T Target object type.
|
|
29
28
|
* @author Jeongho Nam - https://github.com/samchon
|
|
@@ -41,7 +40,7 @@ export declare namespace FormDataInput {
|
|
|
41
40
|
* type of `File` and {@link IFileProps} type which is a structured data for the
|
|
42
41
|
* URI file location in the React Native environment.
|
|
43
42
|
*/
|
|
44
|
-
type Value<T> = T extends File ? T | IFileProps : T
|
|
43
|
+
type Value<T> = T extends File ? T | IFileProps : T;
|
|
45
44
|
/**
|
|
46
45
|
* Properties of a file.
|
|
47
46
|
*
|
package/package.json
CHANGED
package/src/FormDataInput.ts
CHANGED
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
* `number` | `number`
|
|
24
24
|
* `string` | `string`
|
|
25
25
|
* `File` | `File \| IFileProps`
|
|
26
|
-
* `Object` | `never`
|
|
27
26
|
*
|
|
28
27
|
* @template T Target object type.
|
|
29
28
|
* @author Jeongho Nam - https://github.com/samchon
|
|
@@ -48,11 +47,7 @@ export namespace FormDataInput {
|
|
|
48
47
|
* type of `File` and {@link IFileProps} type which is a structured data for the
|
|
49
48
|
* URI file location in the React Native environment.
|
|
50
49
|
*/
|
|
51
|
-
export type Value<T> = T extends File
|
|
52
|
-
? T | IFileProps
|
|
53
|
-
: T extends object
|
|
54
|
-
? never
|
|
55
|
-
: T;
|
|
50
|
+
export type Value<T> = T extends File ? T | IFileProps : T;
|
|
56
51
|
|
|
57
52
|
/**
|
|
58
53
|
* Properties of a file.
|