From a2214cedd0461a2df3ac58d8a4ec5a2912e93f31 Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 28 Aug 2024 10:42:23 +0000 Subject: [PATCH] [ci] format --- packages/integrations/preact/src/client.ts | 2 +- packages/integrations/preact/src/signals.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/integrations/preact/src/client.ts b/packages/integrations/preact/src/client.ts index fa20a99283ec..32fdc9888438 100644 --- a/packages/integrations/preact/src/client.ts +++ b/packages/integrations/preact/src/client.ts @@ -28,7 +28,7 @@ export default (element: HTMLElement) => let valueOfSignal = mapValue; // not an property key - if(typeof indexOrKeyInProps !== 'string') { + if (typeof indexOrKeyInProps !== 'string') { valueOfSignal = mapValue[0]; indexOrKeyInProps = mapValue[1]; } diff --git a/packages/integrations/preact/src/signals.ts b/packages/integrations/preact/src/signals.ts index f8bae590fa29..7b797f3858f3 100644 --- a/packages/integrations/preact/src/signals.ts +++ b/packages/integrations/preact/src/signals.ts @@ -5,8 +5,8 @@ import type { AstroPreactAttrs, PropNameToSignalMap, SignalLike, - Signals, SignalToKeyOrIndexMap, + Signals, } from './types.js'; function isSignal(x: any): x is SignalLike {