Enable brace-style eslint rules
This commit is contained in:
parent
73bdcdfd0a
commit
5a8f484a03
9 changed files with 54 additions and 13 deletions
|
@ -79,7 +79,9 @@ type MentionInsert = {
|
|||
|
||||
const isMention = (insert?: unknown): insert is MentionInsert => {
|
||||
if (insert) {
|
||||
if (Object.getOwnPropertyNames(insert).includes('mention')) return true;
|
||||
if (Object.getOwnPropertyNames(insert).includes('mention')) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue