From 026f75634f53f6c8732e9e800179749e48edd6a5 Mon Sep 17 00:00:00 2001 From: REllEK-IO Date: Thu, 9 May 2024 09:59:13 -0700 Subject: [PATCH] Patch Restored DotPath v0.1.63 --- src/model/selector.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/model/selector.ts b/src/model/selector.ts index 0e7988f..ae0e1a0 100644 --- a/src/model/selector.ts +++ b/src/model/selector.ts @@ -26,7 +26,7 @@ export type KeyedSelector = { * Originally used a DotPath parameter to ease the developer experience, but recent versions made the approach unfeasible */ export const createConceptKeyedSelector = - (conceptName: string, keys: DotPath, setKeys?: (number|string)[]): KeyedSelector => { + >(conceptName: string, keys: DotPath, setKeys?: (number|string)[]): KeyedSelector => { const selectorBase = [conceptName, ...keys.split('.')]; if (setKeys) { return { @@ -52,7 +52,7 @@ export const createConceptKeyedSelector = * @param keys - type string - Format is 'key0.key1.key3' for deep nested key values * Originally used a DotPath parameter to ease the developer experience, but recent versions made the approach unfeasible */ -export const createUnifiedKeyedSelector = ( +export const createUnifiedKeyedSelector = >( concepts: Concepts, semaphore: number, keys: DotPath,