UNPKG

@jeremyckahn/farmhand

Version:
8 lines (7 loc) 137 B
export const selectCow = ( state: farmhand.state, { id }: { id: string } ): farmhand.state => ({ ...state, selectedCowId: id, })