klaudhaus / lit-up

Minimal yet scalable state pattern for reactive web apps with lit-html templates
MIT License
16 stars 0 forks source link

Return type definitions for `app` and update functions #4

Closed tstewart-klaudhaus closed 4 years ago

tstewart-klaudhaus commented 4 years ago

app currently has a return type of void, should reflect that it returns a promise of { model, up }

Return types of update functions (i.e. subsequent update chain) should also be defined.