Skip to content

Commit 2783df5

Browse files
Nikola HristovNikola Hristov
authored andcommitted
1 parent 05f66a2 commit 2783df5

File tree

7 files changed

+839
-643
lines changed

7 files changed

+839
-643
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
'use strict';
4+
"use strict";
55

66
export function getNamesAndValues<T>(e: any): { name: string; value: T }[] {
7-
return getNames(e).map((n) => ({ name: n, value: e[n] }));
7+
return getNames(e).map((n) => ({ name: n, value: e[n] }));
88
}
99

1010
function getNames(e: any) {
11-
return getObjValues(e).filter((v) => typeof v === 'string') as string[];
11+
return getObjValues(e).filter((v) => typeof v === "string") as string[];
1212
}
1313

1414
function getObjValues(e: any): (number | string)[] {
15-
return Object.keys(e).map((k) => e[k]);
15+
return Object.keys(e).map((k) => e[k]);
1616
}

0 commit comments

Comments
 (0)