Skip to content

Commit

Permalink
core: Update types file. Still a way to go.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxott committed Oct 8, 2020
1 parent 0a98eef commit 8dbd22c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/core/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 8dbd22c

Please sign in to comment.