From d9e68ebb666884e79ea6c154e5e2f5f9c71bd681 Mon Sep 17 00:00:00 2001 From: John Wright Date: Thu, 21 Sep 2023 15:10:46 +0100 Subject: [PATCH] refactor: remove unused code --- src/types/PickOfValue.ts | 3 --- src/types/ResultItem.ts | 13 ------------- 2 files changed, 16 deletions(-) delete mode 100644 src/types/PickOfValue.ts delete mode 100644 src/types/ResultItem.ts diff --git a/src/types/PickOfValue.ts b/src/types/PickOfValue.ts deleted file mode 100644 index 95137188..00000000 --- a/src/types/PickOfValue.ts +++ /dev/null @@ -1,3 +0,0 @@ -export type PickOfValue = { - [K in keyof T as Extract extends never ? never : K]: T[K] -} diff --git a/src/types/ResultItem.ts b/src/types/ResultItem.ts deleted file mode 100644 index 5b09aa91..00000000 --- a/src/types/ResultItem.ts +++ /dev/null @@ -1,13 +0,0 @@ -export type ResultItem> = R extends Response< - infer T -> - ? T - : never - -interface Response { - rval?: Rval -} - -interface Rval { - results?: T[] -}