Mention return type

This commit is contained in:
RMidhunSuresh 2021-11-17 16:33:37 +05:30
parent 5a0c06473c
commit 08ef84d112

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
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) {
for (const [key, value] of src.entries()) {
dst.set(key, value);