Skip to content

Commit f019b7d

Browse files
committed
fix: typo
1 parent eef6b8a commit f019b7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-vapor/src/apiCreateFor.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ export function createForSlots(
389389
return slots
390390
}
391391

392-
function normalizeSource(source: any, needsWrap?: boolean): ResolvedSource {
392+
function normalizeSource(source: any, needsWrap = false): ResolvedSource {
393393
let values = source
394394
let keys
395395
if (isArray(source)) {
@@ -416,7 +416,7 @@ function normalizeSource(source: any, needsWrap?: boolean): ResolvedSource {
416416
}
417417
}
418418
}
419-
return { values, needsWrap: !!needsWrap, keys }
419+
return { values, needsWrap, keys }
420420
}
421421

422422
function shallowClone(val: any) {

0 commit comments

Comments
 (0)