style(frontend): remove unused states, add a bit of types

This commit is contained in:
Alex Kaminskii 2022-11-15 16:00:33 +01:00
parent 13d63fb65f
commit c182206b3a

View file

@ -7,12 +7,12 @@ class SkipIntervalCls {
get time(): number {
return this.start;
}
contains(ts) {
contains(ts: number) {
return ts > this.start && ts < this.end;
}
}
export type SkipInterval = InstanceType<typeof SkipIntervalCls>;
export type SkipInterval = InstanceType<typeof SkipIntervalCls>; // exporting only class' type
export default class ActivityManager extends ListWalker<SkipInterval> {