style(frontend): remove unused states, add a bit of types
This commit is contained in:
parent
13d63fb65f
commit
c182206b3a
1 changed files with 2 additions and 2 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue