astro/packages
Don Denton 48161b77ca
Fix unintentional missing type data in MarkdownInstance (#3397)
* Update MarkdownInstance type

The return of the `default` function includes the same `frontmatter`
data as the parent object, merged with the `astro` data. The inclusion
of that frontmatter type was previously not recognized by TS, and fell
back to a `Record<string, any>`. This change persists the more accurate
type, as the runtime code does.

* fixup! Update MarkdownInstance type

(This change is what I'd personally do, but I don't really know how you
expect people to use `MarkdownContent` in practice, or if there is some
deeper benefit you wish to exploit by leaving it as an interface instead
of a type.
2022-06-14 15:20:13 -05:00
..
astro Fix unintentional missing type data in MarkdownInstance (#3397) 2022-06-14 15:20:13 -05:00
astro-prism [ci] update lockfile (#3153) 2022-04-20 09:42:31 -04:00
astro-rss [ci] update lockfile (#3495) 2022-06-01 10:39:32 -05:00
create-astro [ci] format 2022-06-06 16:49:53 +00:00
integrations [ci] release (#3569) 2022-06-10 21:07:03 -05:00
markdown/remark [ci] release (#3569) 2022-06-10 21:07:03 -05:00
telemetry [ci] format 2022-06-06 16:49:53 +00:00
webapi [ci] format 2022-06-14 18:10:04 +00:00