Remove several @ts-ignores

This commit is contained in:
Evan Hahn 2021-12-16 19:14:21 -06:00 committed by GitHub
parent e0bd9f6958
commit 770c80b9ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 36 deletions

View file

@ -165,11 +165,6 @@ export class ConversationModel extends window.Backbone
debouncedUpdateLastMessage?: () => void;
// backbone ensures this exists
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
id: string;
initialPromise?: Promise<unknown>;
inProgressFetch?: Promise<unknown>;
@ -3303,10 +3298,6 @@ export class ConversationModel extends window.Backbone
this.get('e164')!,
regionCode
);
// TODO: DESKTOP-723
// This is valid, but the typing thinks it's a function.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (number.isValidNumber) {
this.set({ e164: number.e164 });
return null;