[ci] format

This commit is contained in:
FredKSchott 2022-08-13 17:01:47 +00:00 committed by fredkbot
parent 1d3a0a16f3
commit b429aff2ad
5 changed files with 4 additions and 8 deletions

View file

@ -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.

View file

@ -10,7 +10,7 @@ import {
renderToString,
spreadAttributes,
stringifyChunk,
voidElementNames
voidElementNames,
} from './index.js';
const ClientOnlyPlaceholder = 'astro-client-only';

View file

@ -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<any> {
child = await child;
if (child instanceof HTMLString) {

View file

@ -6,7 +6,7 @@ import {
determineIfNeedsHydrationScript,
determinesIfNeedsDirectiveScript,
getPrescripts,
PrescriptType
PrescriptType,
} from '../scripts.js';
export const Fragment = Symbol.for('astro:fragment');

View file

@ -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';