Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowely committed Jun 12, 2024
1 parent 0aecff2 commit 724ef34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/utils/classes/Store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function set(target: Store, prop: keyof Store, newValue: any, receiver: any): bo
return false
}

// @ts-expect-error TODO fix type
target[prop] = newValue
target.bus.send(SystemEvent.STORE_UPDATED, receiver)
return true
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/functions/createMarkedInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export function createMarkedInput<T = MarkStruct>(configs: Omit<MarkedInputProps
return _MarkedInput(assignedProps, ref)
}

return forwardRef(ConfiguredMarkedInput)
return forwardRef(ConfiguredMarkedInput) as ConfiguredMarkedInput<T>
}

0 comments on commit 724ef34

Please sign in to comment.