From 8dbd22cda8436864492d8b681e0b5faed57a6dbe Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 8 Oct 2020 11:15:32 +1100 Subject: [PATCH] core: Update types file. Still a way to go. --- packages/core/types/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/core/types/index.d.ts b/packages/core/types/index.d.ts index eda0de5..4ca615a 100644 --- a/packages/core/types/index.d.ts +++ b/packages/core/types/index.d.ts @@ -26,6 +26,13 @@ export declare function registerPOST(props: PiRegisterPostProps): void; export declare function getCardState(cardName:string, state: ReduxState): PiCardState; export declare function createLogger(name:string):any; +export declare function getParamValue( + paramName: string, + cardName: string, + state: ReduxState, + ctxtProps?: {[k: string]: unknown}, + includeDefaults?: boolean, +) type ReactComponent = any; //({[key:string]:any}) => any type ReduxState = {