From 36b1eb32f0a1fad840470d3e04db8f7336aa0901 Mon Sep 17 00:00:00 2001 From: Olli Warro Date: Mon, 18 Mar 2024 23:10:42 +0200 Subject: [PATCH] clean up --- src/queryBuilders/queryQueryBuilder.ts | 4 ---- src/typeHelpers.ts | 8 -------- 2 files changed, 12 deletions(-) diff --git a/src/queryBuilders/queryQueryBuilder.ts b/src/queryBuilders/queryQueryBuilder.ts index 6375ff0..de390ee 100644 --- a/src/queryBuilders/queryQueryBuilder.ts +++ b/src/queryBuilders/queryQueryBuilder.ts @@ -204,10 +204,6 @@ export class QueryQueryBuilder< }); } - /* _getNode() { - return this.#props.node; - } */ - scanIndexForward( enabled: boolean ): QueryQueryBuilderInterface { diff --git a/src/typeHelpers.ts b/src/typeHelpers.ts index 60cb45b..65f86e1 100644 --- a/src/typeHelpers.ts +++ b/src/typeHelpers.ts @@ -57,14 +57,6 @@ export type StripKeys = T extends { _PK: true } ? Omit : T; -export type DeepStripKeys = { - [P in keyof T]: T[P] extends Array - ? Array> - : T[P] extends object - ? DeepStripKeys - : StripKeys; -}; - /** * Returns a subset of a table's properties. */