v0.1.11
types: HyperDurable
accepts T param to specify persisted data
For example:
type CounterData = {
abc?: number;
counter: number;
objectLikeProp: string[];
}
class Counter extends HyperDurable<CounterData, Environment> implements CounterData {
// impl
}