mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 23:55:48 +02:00
refactor: Use ===
This commit is contained in:
@@ -4,7 +4,7 @@ import { MfmForest, MfmTree } from './prelude';
|
||||
import { createTree, createLeaf } from '../prelude/tree';
|
||||
|
||||
function isEmptyTextTree(t: MfmTree): boolean {
|
||||
return t.node.type == 'text' && t.node.props.text === '';
|
||||
return t.node.type === 'text' && t.node.props.text === '';
|
||||
}
|
||||
|
||||
function concatTextTrees(ts: MfmForest): MfmTree {
|
||||
|
||||
Reference in New Issue
Block a user