Thanks for your interest!
Totally supported typescript. Most types are calculated automatically. Only several places where are you need to define it manually.
// you should pass user type manually for an argument of actionconstuserUpdate=signal<string>();// store type will be received from the initial state typeconststore=value({user:""});// all arguments will be typed automaticallystore.update.by(userUpdate,(state,user)=>({...state,user}))// only a string type allowed for an argument of actionuserUpdate("John");
Thanks for your interest!
Totally supported typescript. Most types are calculated automatically. Only several places where are you need to define it manually.
When you define a parameterized action. (play on codesandbox)
Or in the shortcut for the above example. (play on codesandbox)
Types are calculated automatically as more as it possible 👍