Skip to content

Commit 83e0afa

Browse files
committed
correcting masterState to have any type for output of getComponentByIndex
1 parent 8735268 commit 83e0afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/masterState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default {
3535
getRecordByIndex: (inputIndex: number): HookStateItem => componentActionsRecord[inputIndex],
3636
// this is used for class components -
3737
/* inputIndex will always be a fixed number (coming in timeJump.ts) */
38-
getComponentByIndex: (inputIndex: number): void => (
38+
getComponentByIndex: (inputIndex: number): any => (
3939
componentActionsRecord[inputIndex]
4040
? componentActionsRecord[inputIndex].component
4141
: undefined),

0 commit comments

Comments
 (0)