Remove @ts-ignores.

Co-authored-by: Yash Singh <saiansh2525@gmail.com>
This commit is contained in:
Sidharth Vinod
2022-08-25 21:53:36 +05:30
parent 84148d4891
commit a3dfc4c0e8
8 changed files with 32 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
import { DiagramDetector } from '../../diagram-api/detectType';
export const mindmapDetector: DiagramDetector = (txt) => {
return txt.match(/^\s*mindmap/) != null;
return txt.match(/^\s*mindmap/) !== null;
};