couzic / lenrix

Type-safe, reactive, focusable redux store wrapper
MIT License
24 stars 1 forks source link

Store.updates.shouldNotCompile #41

Open couzic opened 6 years ago

couzic commented 6 years ago
// Registering update with unknown action @shouldNotButDoesCompile
store.updates(_ => ({
   doString: s => _.focusPath('counter').setValue(42),
   unknown: s => _.focusPath('counter').setValue(42),
}))