Update state and reducer typings
This commit is contained in:
parent
6199f1b025
commit
aa9a50e8f9
8 changed files with 75 additions and 100 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import {ITermState} from '../hyper';
|
||||
import {Immutable} from 'seamless-immutable';
|
||||
|
||||
export default function findBySession(termGroupState: Immutable<ITermState>, sessionUid: string) {
|
||||
export default function findBySession(termGroupState: ITermState, sessionUid: string) {
|
||||
const {termGroups} = termGroupState;
|
||||
return Object.keys(termGroups)
|
||||
.map((uid) => termGroups[uid])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue