Extract MFM types

This commit is contained in:
Aya Morisawa 2019-01-30 14:51:30 +09:00
parent 6eb9ba31bf
commit 4c9b66b0f0
No known key found for this signature in database
GPG key ID: 3E64865D70D579F2
10 changed files with 48 additions and 45 deletions

View file

@ -1,6 +1,6 @@
import * as A from '../prelude/array';
import * as S from '../prelude/string';
import { MfmForest, MfmTree } from './parser';
import { MfmForest, MfmTree } from './types';
import { createTree, createLeaf } from '../prelude/tree';
function isEmptyTextTree(t: MfmTree): boolean {