@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.
@@ -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 extends object ? never : 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestia/fetcher",
3
- "version": "3.14.0-dev.20240917",
3
+ "version": "3.14.0-dev.20240918",
4
4
  "description": "Fetcher library of Nestia SDK",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -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.