mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-21 21:55:09 +00:00
fix type error (#147)
* feat: parse <plain> in parseSimple * fix: type error * chore: update api.md
This commit is contained in:
parent
7dbd9f2889
commit
9cd9aaebe4
2 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ export type MfmSearch = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
export type MfmSimpleNode = MfmUnicodeEmoji | MfmEmojiCode | MfmText;
|
export type MfmSimpleNode = MfmUnicodeEmoji | MfmEmojiCode | MfmText | MfmPlain;
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
export type MfmSmall = {
|
export type MfmSmall = {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
export type MfmNode = MfmBlock | MfmInline;
|
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;
|
export type MfmBlock = MfmQuote | MfmSearch | MfmCodeBlock | MfmMathBlock | MfmCenter;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue