From f469bcfcd73745e5d00dfd006d53a38fe8445b66 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Sun, 12 Dec 2021 15:39:28 -0500 Subject: [PATCH] `params` arguments for id-based `app.store.find` should be optional --- framework/core/js/src/common/Store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/js/src/common/Store.ts b/framework/core/js/src/common/Store.ts index d4a7785a5..a576fa320 100644 --- a/framework/core/js/src/common/Store.ts +++ b/framework/core/js/src/common/Store.ts @@ -147,13 +147,13 @@ export default class Store { async find( type: string, id: string, - params: ApiQueryParamsSingle, + params?: ApiQueryParamsSingle, options?: ApiQueryRequestOptions ): Promise>; async find( type: string, ids: string[], - params: ApiQueryParamsPlural, + params?: ApiQueryParamsPlural, options?: ApiQueryRequestOptions ): Promise>; async find(