summaryrefslogtreecommitdiff
path: root/examples/framework-svelte
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2023-01-19 08:34:27 -0500
committerGravatar GitHub <noreply@github.com> 2023-01-19 08:34:27 -0500
commitbe901dc98c4a7f6b5536540aa8f7ba5108e939a0 (patch)
tree70a472215ee49ef4ac63cef2b776818d007df10d /examples/framework-svelte
parent4f649014e9323db30d82e36e73f8e9ac1cf13cfa (diff)
downloadastro-be901dc98c4a7f6b5536540aa8f7ba5108e939a0.tar.gz
astro-be901dc98c4a7f6b5536540aa8f7ba5108e939a0.tar.zst
astro-be901dc98c4a7f6b5536540aa8f7ba5108e939a0.zip
Rename getEntry to getEntryBySlug (#5893)
* Rename getEntry to getEntryBySchema * Improve entrySlug types and return undefined * Add changeset * Update packages/astro/src/content/template/types.d.ts Co-authored-by: Ben Holmes <hey@bholmes.dev> * Update the types to accept both raw string and known value * Add comment on the implementation not currently being O(1) Co-authored-by: Ben Holmes <hey@bholmes.dev>
Diffstat (limited to 'examples/framework-svelte')
0 files changed, 0 insertions, 0 deletions