From 168cef212ba8240f7ce4867b0637b6fda70c99e4 Mon Sep 17 00:00:00 2001 From: Alvaro Videla Date: Tue, 17 Mar 2020 16:15:38 +0100 Subject: [PATCH] fixes #92857 --- src/vs/base/common/collections.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/base/common/collections.ts b/src/vs/base/common/collections.ts index e2de5aadc57..aac7c67e807 100644 --- a/src/vs/base/common/collections.ts +++ b/src/vs/base/common/collections.ts @@ -20,7 +20,7 @@ const hasOwnProperty = Object.prototype.hasOwnProperty; /** * Returns an array which contains all values that reside - * in the given set. + * in the given dictionary. */ export function values(from: IStringDictionary | INumberDictionary): T[] { const result: T[] = []; @@ -52,7 +52,7 @@ export function first(from: IStringDictionary | INumberDictionary): T | } /** - * Iterates over each entry in the provided set. The iterator allows + * Iterates over each entry in the provided dictionary. The iterator allows * to remove elements and will stop when the callback returns {{false}}. */ export function forEach(from: IStringDictionary | INumberDictionary, callback: (entry: { key: any; value: T; }, remove: () => void) => any): void { -- GitLab