astro/packages/astro/env.d.ts
Fred K. Schott 4299ab303b
New Markdown API (#2862)
* 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>
2022-03-28 17:16:06 -07:00

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;