Mention return type
This commit is contained in:
parent
5a0c06473c
commit
08ef84d112
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function mergeMap<K, V>(src: Map<K, V> | undefined, dst: Map<K, V>) {
|
export function mergeMap<K, V>(src: Map<K, V> | undefined, dst: Map<K, V>): void {
|
||||||
if (src) {
|
if (src) {
|
||||||
for (const [key, value] of src.entries()) {
|
for (const [key, value] of src.entries()) {
|
||||||
dst.set(key, value);
|
dst.set(key, value);
|
||||||
|
|
Reference in a new issue