0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

[ci] format

This commit is contained in:
Phil 2024-08-28 10:42:23 +00:00 committed by astrobot-houston
parent 5f2536b51d
commit a2214cedd0
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ export default (element: HTMLElement) =>
let valueOfSignal = mapValue; let valueOfSignal = mapValue;
// not an property key // not an property key
if(typeof indexOrKeyInProps !== 'string') { if (typeof indexOrKeyInProps !== 'string') {
valueOfSignal = mapValue[0]; valueOfSignal = mapValue[0];
indexOrKeyInProps = mapValue[1]; indexOrKeyInProps = mapValue[1];
} }

View file

@ -5,8 +5,8 @@ import type {
AstroPreactAttrs, AstroPreactAttrs,
PropNameToSignalMap, PropNameToSignalMap,
SignalLike, SignalLike,
Signals,
SignalToKeyOrIndexMap, SignalToKeyOrIndexMap,
Signals,
} from './types.js'; } from './types.js';
function isSignal(x: any): x is SignalLike { function isSignal(x: any): x is SignalLike {