diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2019-01-30 14:51:30 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2019-01-30 14:51:30 +0900 |
| commit | 4c9b66b0f04870315ca2c08f47afe5cff7929477 (patch) | |
| tree | fc2196a8e9be9a310c27b2b6ae1a59a31169fcad /src/misc | |
| parent | Extract MFM normalize function (diff) | |
| download | sharkey-4c9b66b0f04870315ca2c08f47afe5cff7929477.tar.gz sharkey-4c9b66b0f04870315ca2c08f47afe5cff7929477.tar.bz2 sharkey-4c9b66b0f04870315ca2c08f47afe5cff7929477.zip | |
Extract MFM types
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/extract-emojis.ts | 2 | ||||
| -rw-r--r-- | src/misc/extract-hashtags.ts | 2 | ||||
| -rw-r--r-- | src/misc/extract-mentions.ts | 2 |
3 files changed, 3 insertions, 3 deletions
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'][] { |