22# Flags: CaseSensitive WordMatch
33# ContextLines: 2
44
5- 11 results - 3 files
5+ 9 results - 4 files
66
77src/vs/base/common/arrays.ts:
88 401
@@ -17,20 +17,14 @@ src/vs/base/common/arrays.ts:
1717 420 */
1818 421 export function first<T>(array: ReadonlyArray<T>, fn: (item: T) => boolean, notFoundValue: T): T;
1919
20- 474
21- 475 /**
22- 476: * @deprecated ES6: use `Array.fill`
23- 477 */
24- 478 export function fill<T>(num: number, value: T, arr: T[] = []): T[] {
25-
26- 571
27- 572 /**
28- 573: * @deprecated ES6: use `Array.find`
29- 574 */
30- 575 export function find<T>(arr: ArrayLike<T>, predicate: (value: T, index: number, arr: ArrayLike<T>) => any): T | undefined {
20+ 560
21+ 561 /**
22+ 562: * @deprecated ES6: use `Array.find`
23+ 563 */
24+ 564 export function find<T>(arr: ArrayLike<T>, predicate: (value: T, index: number, arr: ArrayLike<T>) => any): T | undefined {
3125
3226src/vs/base/common/map.ts:
33- 9
27+ 9
3428 10 /**
3529 11: * @deprecated ES6: use `[...SetOrMap.values()]`
3630 12 */
@@ -42,33 +36,28 @@ src/vs/base/common/map.ts:
4236 23 */
4337 24 export function keys<K, V>(map: Map<K, V>): K[] {
4438
45- 58
46- 59 /**
47- 60: * @deprecated ES6: use `...Map.entries()`
48- 61 */
49- 62 export function mapToSerializable(map: Map<string, string>): [string, string][] {
50-
51- 71
52- 72 /**
53- 73: * @deprecated ES6: use `new Map([[key1, value1],[key2, value2]])`
54- 74 */
55- 75 export function serializableToMap(serializable: [string, string][]): Map<string, string> {
39+ src/vs/base/common/objects.ts:
40+ 115
41+ 116 /**
42+ 117: * @deprecated ES6
43+ 118 */
44+ 119 export function assign<T>(destination: T): T;
5645
5746src/vs/base/common/strings.ts:
58- 16
59- 17 /**
60- 18 : * @deprecated ES6: use `String.padStart`
61- 19 */
62- 20 export function pad(n: number, l: number, char: string = '0'): string {
63-
64- 147
65- 148 /**
66- 149 : * @deprecated ES6: use `String.startsWith`
67- 150 */
68- 151 export function startsWith(haystack: string, needle: string): boolean {
69-
70- 168
71- 169 /**
72- 170 : * @deprecated ES6: use `String.endsWith`
73- 171 */
74- 172 export function endsWith(haystack: string, needle: string): boolean {
47+ 15
48+ 16 /**
49+ 17 : * @deprecated ES6: use `String.padStart`
50+ 18 */
51+ 19 export function pad(n: number, l: number, char: string = '0'): string {
52+
53+ 146
54+ 147 /**
55+ 148 : * @deprecated ES6: use `String.startsWith`
56+ 149 */
57+ 150 export function startsWith(haystack: string, needle: string): boolean {
58+
59+ 167
60+ 168 /**
61+ 169 : * @deprecated ES6: use `String.endsWith`
62+ 170 */
63+ 171 export function endsWith(haystack: string, needle: string): boolean {
0 commit comments