4299ab303b
* Implement new markdown plugin with deferred markdown rendering * feat: switch from `getContent()` fn to `<Content />` API * update types * Update packages/astro/src/@types/astro.ts Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * update types * Create forty-coins-attend.md Co-authored-by: Nate Moore <nate@skypack.dev> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
12 lines
469 B
TypeScript
12 lines
469 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
type Astro = import('astro').AstroGlobal;
|
|
|
|
// We duplicate the description here because editors won't show the JSDoc comment from the imported type (but will for its properties, ex: Astro.request will show the AstroGlobal.request description)
|
|
/**
|
|
* Astro.* available in all components
|
|
* Docs: https://docs.astro.build/reference/api-reference/#astro-global
|
|
*/
|
|
declare const Astro: Readonly<Astro>;
|
|
|
|
declare const Fragment: any;
|