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

@ -3,7 +3,7 @@ const { JSDOM } = jsdom;
import config from '../config';
import { INote } from '../models/note';
import { intersperse } from '../prelude/array';
import { MfmForest, MfmTree } from './parser';
import { MfmForest, MfmTree } from './types';
export default (tokens: MfmForest, mentionedRemoteUsers: INote['mentionedRemoteUsers'] = []) => {
if (tokens == null) {