Lint & add comments
This commit is contained in:
parent
5abbd5d8ee
commit
b0192aae23
3 changed files with 4 additions and 5 deletions
|
|
@ -80,8 +80,7 @@ export class HistoryView extends ItemView {
|
|||
|
||||
public async onOpen(): Promise<void> {
|
||||
await this.updateView();
|
||||
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
||||
this.timer = setInterval(async () => this.updateView(), 1000);
|
||||
this.timer = setInterval(() => void this.updateView(), 1000);
|
||||
}
|
||||
|
||||
public async onClose(): Promise<void> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue