mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
[ci] format
This commit is contained in:
parent
fd9da98b19
commit
d4336a5470
3 changed files with 3 additions and 3 deletions
|
@ -3001,7 +3001,7 @@ export interface SSRLoadedRendererValue {
|
|||
* page-level data structure.
|
||||
*/
|
||||
renderHydrationScript?: () => string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SSRLoadedRenderer extends Pick<AstroRenderer, 'name' | 'clientEntrypoint'> {
|
||||
ssr: SSRLoadedRendererValue;
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue