Accepts types whose values a layer stores (PersistStorable), checked property by property so interfaces
without index signatures qualify. A mapped type (rather than a conditional one) lets it constrain its own type
parameter, as in T extends PersistStorableCompatible<T>. Built-ins and maps or sets map onto their checked form
member by member, so Date or Map<string, Event> qualify as the whole value too.
Accepts types whose values a layer stores (PersistStorable), checked property by property so interfaces without index signatures qualify. A mapped type (rather than a conditional one) lets it constrain its own type parameter, as in
T extends PersistStorableCompatible<T>. Built-ins and maps or sets map onto their checked form member by member, soDateorMap<string, Event>qualify as the whole value too.