From 98a4a914bc47f3da2764b3bdc01577d25fe2e261 Mon Sep 17 00:00:00 2001 From: Happydev <81974850+MoustaphaDev@users.noreply.github.com> Date: Mon, 30 Jan 2023 09:48:40 +0100 Subject: [PATCH] Remove outdated MDX import types (#6024) --- .changeset/gentle-weeks-lie.md | 5 +++++ packages/astro/client-base.d.ts | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .changeset/gentle-weeks-lie.md diff --git a/.changeset/gentle-weeks-lie.md b/.changeset/gentle-weeks-lie.md new file mode 100644 index 0000000000..468fc1bbfe --- /dev/null +++ b/.changeset/gentle-weeks-lie.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Remove `rawContent()` and `compiledContent()` from MDX import types \ No newline at end of file diff --git a/packages/astro/client-base.d.ts b/packages/astro/client-base.d.ts index fa521d0aa4..fb440995f1 100644 --- a/packages/astro/client-base.d.ts +++ b/packages/astro/client-base.d.ts @@ -112,8 +112,6 @@ declare module '*.mdx' { export const url: MDX['url']; export const getHeadings: MDX['getHeadings']; export const Content: MDX['Content']; - export const rawContent: MDX['rawContent']; - export const compiledContent: MDX['compiledContent']; const load: MDX['default']; export default load;