0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
bluwy 2023-07-25 15:47:03 +00:00 committed by astrobot-houston
parent 0f677c009d
commit 0d86457d64
4 changed files with 6 additions and 6 deletions

View file

@ -9,10 +9,10 @@ import type {
} from '../../@types/astro';
import { renderSlotToString, type ComponentSlots } from '../../runtime/server/index.js';
import { renderJSX } from '../../runtime/server/jsx.js';
import { chunkToString } from '../../runtime/server/render/index.js';
import { AstroCookies } from '../cookies/index.js';
import { AstroError, AstroErrorData } from '../errors/index.js';
import { warn, type LogOptions } from '../logger/core.js';
import { chunkToString } from '../../runtime/server/render/index.js';
const clientAddressSymbol = Symbol.for('astro.clientAddress');
const responseSentSymbol = Symbol.for('astro.responseSent');

View file

@ -4,9 +4,9 @@ import type { AstroComponentFactory, AstroFactoryReturnValue } from './factory.j
import { isPromise } from '../../util.js';
import { renderChild } from '../any.js';
import type { RenderDestination } from '../common.js';
import { isAPropagatingComponent } from './factory.js';
import { isHeadAndContent } from './head-and-content.js';
import type { RenderDestination } from '../common.js';
type ComponentProps = Record<string | number, any>;

View file

@ -21,15 +21,15 @@ import {
import {
Fragment,
Renderer,
type RenderDestination,
chunkToString,
type RenderInstance,
type RenderDestination,
type RenderDestinationChunk,
type RenderInstance,
} from './common.js';
import { componentIsHTMLElement, renderHTMLElement } from './dom.js';
import { maybeRenderHead } from './head.js';
import { renderSlotToString, renderSlots, type ComponentSlots } from './slot.js';
import { formatList, internalSpreadAttributes, renderElement, voidElementNames } from './util.js';
import { maybeRenderHead } from './head.js';
const needsHeadRenderingSymbol = Symbol.for('astro.needsHeadRendering');
const rendererAliases = new Map([['solid', 'solid-js']]);

View file

@ -1,6 +1,6 @@
export type { AstroComponentFactory, AstroComponentInstance } from './astro/index';
export { createHeadAndContent, renderTemplate, renderToString } from './astro/index.js';
export { Fragment, Renderer, chunkToString, chunkToByteArray } from './common.js';
export { Fragment, Renderer, chunkToByteArray, chunkToString } from './common.js';
export { renderComponent, renderComponentToString } from './component.js';
export { renderHTMLElement } from './dom.js';
export { maybeRenderHead, renderHead } from './head.js';