DefinitelyTyped/lestate/lestate-tests.ts
2016-05-10 16:27:59 -07:00

19 lines
271 B
TypeScript

let State = LeState.createState()
State.set({
test : {}
})
let currentState = State.get()
State.insert({
test : {}
})
let currentDescription = State.getDescription()
State.createListener({
id : 0,
selector : state => ({ test : state.test })
})