From 1df7c8489ebe3409fbf574760552e0f1722b1d23 Mon Sep 17 00:00:00 2001 From: Luiz Ferraz Date: Wed, 17 Jul 2024 15:59:44 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/@types/astro.ts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index e05b123d9f..81199ea943 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -3058,7 +3058,7 @@ export type HookParameters< declare global { // eslint-disable-next-line @typescript-eslint/no-namespace - namespace Astro { + namespace Astro { export interface IntegrationHooks { 'astro:config:setup': (options: { config: AstroConfig; @@ -3071,9 +3071,9 @@ declare global { injectRoute: (injectRoute: InjectedRoute) => void; addClientDirective: (directive: ClientDirectiveConfig) => void; /** - * @deprecated Use `addDevToolbarApp` instead. - * TODO: Fully remove in Astro 5.0 - */ + * @deprecated Use `addDevToolbarApp` instead. + * TODO: Fully remove in Astro 5.0 + */ addDevOverlayPlugin: (entrypoint: string) => void; // TODO: Deprecate the `string` overload once a few apps have been migrated to the new API. addDevToolbarApp: (entrypoint: DevToolbarAppEntry | string) => void; @@ -3102,13 +3102,13 @@ declare global { 'astro:build:ssr': (options: { manifest: SerializedSSRManifest; /** - * This maps a {@link RouteData} to an {@link URL}, this URL represents - * the physical file you should import. - */ + * This maps a {@link RouteData} to an {@link URL}, this URL represents + * the physical file you should import. + */ entryPoints: Map; /** - * File path of the emitted middleware - */ + * File path of the emitted middleware + */ middlewareEntryPoint: URL | undefined; logger: AstroIntegrationLogger; }) => void | Promise; @@ -3140,8 +3140,8 @@ export interface AstroIntegration { name: string; /** The different hooks available to extend. */ hooks: { - [K in keyof Astro.IntegrationHooks]?: Astro.IntegrationHooks[K] - } & Partial> + [K in keyof Astro.IntegrationHooks]?: Astro.IntegrationHooks[K]; + } & Partial>; } export type RewritePayload = string | URL | Request;