fix type error (#147)

* feat: parse <plain> in parseSimple

* fix: type error

* chore: update api.md
This commit is contained in:
anatawa12 2024-06-15 16:13:59 +09:00 committed by GitHub
parent 7dbd9f2889
commit 9cd9aaebe4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -190,7 +190,7 @@ export type MfmSearch = {
};
// @public (undocumented)
export type MfmSimpleNode = MfmUnicodeEmoji | MfmEmojiCode | MfmText;
export type MfmSimpleNode = MfmUnicodeEmoji | MfmEmojiCode | MfmText | MfmPlain;
// @public (undocumented)
export type MfmSmall = {

View file

@ -1,6 +1,6 @@
export type MfmNode = MfmBlock | MfmInline;
export type MfmSimpleNode = MfmUnicodeEmoji | MfmEmojiCode | MfmText;
export type MfmSimpleNode = MfmUnicodeEmoji | MfmEmojiCode | MfmText | MfmPlain;
export type MfmBlock = MfmQuote | MfmSearch | MfmCodeBlock | MfmMathBlock | MfmCenter;