diff --git a/examples/framework-multiple/astro.config.mjs b/examples/framework-multiple/astro.config.mjs index c0360065c..4b50887cd 100644 --- a/examples/framework-multiple/astro.config.mjs +++ b/examples/framework-multiple/astro.config.mjs @@ -5,7 +5,6 @@ import svelte from '@astrojs/svelte'; import vue from '@astrojs/vue'; import solid from '@astrojs/solid-js'; - // https://astro.build/config export default defineConfig({ // Enable many frameworks to support all different kinds of components. diff --git a/packages/astro/src/runtime/server/jsx.ts b/packages/astro/src/runtime/server/jsx.ts index f7f566788..6041d514d 100644 --- a/packages/astro/src/runtime/server/jsx.ts +++ b/packages/astro/src/runtime/server/jsx.ts @@ -10,7 +10,7 @@ import { renderToString, spreadAttributes, stringifyChunk, - voidElementNames + voidElementNames, } from './index.js'; const ClientOnlyPlaceholder = 'astro-client-only'; diff --git a/packages/astro/src/runtime/server/render/any.ts b/packages/astro/src/runtime/server/render/any.ts index af55ac099..9c6e199c2 100644 --- a/packages/astro/src/runtime/server/render/any.ts +++ b/packages/astro/src/runtime/server/render/any.ts @@ -1,7 +1,7 @@ import { escapeHTML, HTMLString, markHTMLString } from '../escape.js'; import { AstroComponent, renderAstroComponent } from './astro.js'; import { stringifyChunk } from './common.js'; - + export async function* renderChild(child: any): AsyncIterable { child = await child; if (child instanceof HTMLString) { diff --git a/packages/astro/src/runtime/server/render/common.ts b/packages/astro/src/runtime/server/render/common.ts index cbb342e68..27b012aa4 100644 --- a/packages/astro/src/runtime/server/render/common.ts +++ b/packages/astro/src/runtime/server/render/common.ts @@ -6,7 +6,7 @@ import { determineIfNeedsHydrationScript, determinesIfNeedsDirectiveScript, getPrescripts, - PrescriptType + PrescriptType, } from '../scripts.js'; export const Fragment = Symbol.for('astro:fragment'); diff --git a/packages/astro/src/runtime/server/render/component.ts b/packages/astro/src/runtime/server/render/component.ts index ea1c3a9ed..18dc5a00d 100644 --- a/packages/astro/src/runtime/server/render/component.ts +++ b/packages/astro/src/runtime/server/render/component.ts @@ -1,7 +1,4 @@ -import type { - AstroComponentMetadata, - SSRLoadedRenderer, SSRResult -} from '../../../@types/astro'; +import type { AstroComponentMetadata, SSRLoadedRenderer, SSRResult } from '../../../@types/astro'; import type { RenderInstruction } from './types.js'; import { markHTMLString } from '../escape.js';