* 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.
5 lines
99 B
Markdown
5 lines
99 B
Markdown
---
|
|
'astro': patch
|
|
---
|
|
|
|
MarkdownInstance: Persist frontmatter type into the return of `.default()`
|