We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b0f7b1 commit 0f51bacCopy full SHA for 0f51bac
1 file changed
patches/use-http+1.0.27.patch
@@ -0,0 +1,10 @@
1
+diff --git a/node_modules/use-http/dist/cjs/types.d.ts b/node_modules/use-http/dist/cjs/types.d.ts
2
+index e33cb72..37a643e 100644
3
+--- a/node_modules/use-http/dist/cjs/types.d.ts
4
++++ b/node_modules/use-http/dist/cjs/types.d.ts
5
+@@ -215,4 +215,5 @@ export declare type NonObjectKeysOf<T> = {
6
+ }[keyof T];
7
+ export declare type ObjectValuesOf<T extends Record<string, any>> = Exclude<Exclude<Extract<ValueOf<T>, object>, never>, Array<any>>;
8
+ export declare type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
9
++//@ts-ignore
10
+ export declare type Flatten<T> = Pick<T, NonObjectKeysOf<T>> & UnionToIntersection<ObjectValuesOf<T>>;
0 commit comments