0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00

[ci] format

This commit is contained in:
Emanuele Stoppa 2024-06-14 05:53:12 +00:00 committed by astrobot-houston
parent fd9da98b19
commit d4336a5470
3 changed files with 3 additions and 3 deletions

View file

@ -3001,7 +3001,7 @@ export interface SSRLoadedRendererValue {
* page-level data structure.
*/
renderHydrationScript?: () => string;
};
}
export interface SSRLoadedRenderer extends Pick<AstroRenderer, 'name' | 'clientEntrypoint'> {
ssr: SSRLoadedRendererValue;

View file

@ -1,7 +1,7 @@
import type { NamedSSRLoadedRendererValue } from '../@types/astro.js';
import { AstroError, AstroUserError } from '../core/errors/errors.js';
import { AstroJSX, jsx } from '../jsx-runtime/index.js';
import { renderJSX } from '../runtime/server/jsx.js';
import type { NamedSSRLoadedRendererValue } from '../@types/astro.js';
const slotName = (str: string) => str.trim().replace(/[-_]([a-z])/g, (_, w) => w.toUpperCase());

View file

@ -1,3 +1,4 @@
import type { NamedSSRLoadedRendererValue } from 'astro';
import {
NoHydration,
Suspense,
@ -9,7 +10,6 @@ import {
} from 'solid-js/web';
import { getContext, incrementId } from './context.js';
import type { RendererContext } from './types.js';
import type { NamedSSRLoadedRendererValue } from 'astro';
const slotName = (str: string) => str.trim().replace(/[-_]([a-z])/g, (_, w) => w.toUpperCase());