Skip to content

Commit 5e6e62f

Browse files
docs: resync docs
1 parent 5855619 commit 5e6e62f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/defaults/into.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function mergeMapsInto<Ts extends ReadonlyArray<Readonly<ReadonlyMap<unknown, un
103103
}
104104

105105
/**
106-
* Set the target to the last non-undefined value.
106+
* Set the target to the last value.
107107
*/
108108
function mergeOthersInto<Ts extends ReadonlyArray<unknown>>(m_target: Reference<unknown>, values: Ts) {
109109
m_target.value = values.at(-1);

src/defaults/vanilla.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function mergeMaps<Ts extends ReadonlyArray<Readonly<ReadonlyMap<unknown, unknow
107107
}
108108

109109
/**
110-
* Get the last non-undefined value in the given array.
110+
* Get the last value in the given array.
111111
*/
112112
function mergeOthers<Ts extends ReadonlyArray<unknown>>(values: Ts): unknown {
113113
return values.at(-1);

0 commit comments

Comments
 (0)