From 0038dbd183c27924e3cd0d3a7905ef54a32c58d1 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 9 Dec 2021 01:41:41 -0500 Subject: [PATCH] Removes any usage --- src/views/nodes/viewNode.ts | 2 +- src/views/viewBase.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/nodes/viewNode.ts b/src/views/nodes/viewNode.ts index 1b0d6f3..0966d60 100644 --- a/src/views/nodes/viewNode.ts +++ b/src/views/nodes/viewNode.ts @@ -173,7 +173,7 @@ export interface PageableViewNode { readonly id: string; limit?: number; readonly hasMore: boolean; - loadMore(limit?: number | { until?: any }): Promise; + loadMore(limit?: number | { until?: string | undefined }): Promise; } export namespace PageableViewNode { diff --git a/src/views/viewBase.ts b/src/views/viewBase.ts index bb57145..e119bcc 100644 --- a/src/views/viewBase.ts +++ b/src/views/viewBase.ts @@ -545,7 +545,7 @@ export abstract class ViewBase< }) async loadMoreNodeChildren( node: ViewNode & PageableViewNode, - limit: number | { until: any } | undefined, + limit: number | { until: string | undefined } | undefined, previousNode?: ViewNode, ) { if (previousNode != null) {