From e0c36498e6f7feb2c48fb63a9c8d941063b0adab Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 15 Jun 2021 10:06:30 +0100 Subject: [PATCH] delint --- src/models/relations.ts | 14 +++++++------- src/store/stub.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/models/relations.ts b/src/models/relations.ts index 99485562f..de82ec6e1 100644 --- a/src/models/relations.ts +++ b/src/models/relations.ts @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -import {EventEmitter} from 'events'; +import { EventEmitter } from 'events'; -import {EventStatus, MatrixEvent} from './event'; -import {Room} from './room'; -import {logger} from '../logger'; -import {RelationType} from "../@types/event"; +import { EventStatus, MatrixEvent } from './event'; +import { Room } from './room'; +import { logger } from '../logger'; +import { RelationType } from "../@types/event"; /** * A container for relation events that supports easy access to common ways of @@ -159,7 +159,7 @@ export class Relations extends EventEmitter { // Event was cancelled, remove from the collection event.removeListener("Event.status", this.onEventStatus); this.removeEvent(event); - } + }; /** * Get all relation events in this collection. @@ -258,7 +258,7 @@ export class Relations extends EventEmitter { redactedEvent.removeListener("Event.beforeRedaction", this.onBeforeRedaction); this.emit("Relations.redaction", redactedEvent); - } + }; /** * Get all events in this collection grouped by key and sorted by descending diff --git a/src/store/stub.ts b/src/store/stub.ts index 6270741a8..a1775b3f9 100644 --- a/src/store/stub.ts +++ b/src/store/stub.ts @@ -181,7 +181,7 @@ export class StubStore implements IStore { * @param {string} filterName The filter name. * @return {?string} The filter ID or null. */ - public getFilterIdByName(filterName: string): Filter | null { + public getFilterIdByName(filterName: string): string | null { return null; }