From 4c9b66b0f04870315ca2c08f47afe5cff7929477 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Wed, 30 Jan 2019 14:51:30 +0900 Subject: Extract MFM types --- src/misc/extract-emojis.ts | 2 +- src/misc/extract-hashtags.ts | 2 +- src/misc/extract-mentions.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/misc') diff --git a/src/misc/extract-emojis.ts b/src/misc/extract-emojis.ts index a7b949f4f7..ba810b5f51 100644 --- a/src/misc/extract-emojis.ts +++ b/src/misc/extract-emojis.ts @@ -1,4 +1,4 @@ -import { EmojiNode, MfmForest } from '../mfm/parser'; +import { EmojiNode, MfmForest } from '../mfm/types'; import { preorderF } from '../prelude/tree'; import { unique } from '../prelude/array'; diff --git a/src/misc/extract-hashtags.ts b/src/misc/extract-hashtags.ts index 43eaa45909..a6b801a7a2 100644 --- a/src/misc/extract-hashtags.ts +++ b/src/misc/extract-hashtags.ts @@ -1,4 +1,4 @@ -import { HashtagNode, MfmForest } from '../mfm/parser'; +import { HashtagNode, MfmForest } from '../mfm/types'; import { preorderF } from '../prelude/tree'; import { unique } from '../prelude/array'; diff --git a/src/misc/extract-mentions.ts b/src/misc/extract-mentions.ts index a53a25ffc4..6ddd31004f 100644 --- a/src/misc/extract-mentions.ts +++ b/src/misc/extract-mentions.ts @@ -1,6 +1,6 @@ // test is located in test/extract-mentions -import { MentionNode, MfmForest } from '../mfm/parser'; +import { MentionNode, MfmForest } from '../mfm/types'; import { preorderF } from '../prelude/tree'; export default function(mfmForest: MfmForest): MentionNode['props'][] { -- cgit v1.2.3-freya