Skip to content

Commit 0f51bac

Browse files
committed
chore: add tsignore in package for build
1 parent 0b0f7b1 commit 0f51bac

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

patches/use-http+1.0.27.patch

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)