mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
5f2536b51d
commit
a2214cedd0
2 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue