From 5407f4e2279f635c78a8974252455b844e57dbeb Mon Sep 17 00:00:00 2001 From: Benjamin MENANT Date: Fri, 25 Oct 2024 10:18:10 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/@types/astro.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 4c5a8b2b70..9494605b1d 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -2648,10 +2648,8 @@ export interface MarkdownInstance> { type MD = MarkdownInstance>; -export interface MDXInstance> extends Omit< - MarkdownInstance, - 'rawContent' | 'compiledContent' -> { +export interface MDXInstance> + extends Omit, 'rawContent' | 'compiledContent'> { components: Record | undefined; } @@ -2667,10 +2665,8 @@ export interface MarkdownLayoutProps> { compiledContent: MarkdownInstance['compiledContent']; } -export interface MDXLayoutProps> extends Omit< - MarkdownLayoutProps, - 'rawContent' | 'compiledContent' -> { +export interface MDXLayoutProps> + extends Omit, 'rawContent' | 'compiledContent'> { components: MDXInstance['components']; }