mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
apply prettier styles
This commit is contained in:
parent
64ad4f3f92
commit
bf04235dae
7130 changed files with 31393 additions and 37163 deletions
|
@ -11,7 +11,7 @@ export interface Dictionary<TValue> {
|
|||
// converts a dictionary to an array. note this loses the dictionary `key` information.
|
||||
// however it's able to retain the type information of the dictionary elements.
|
||||
export function dictionaryToArray<TValue>(dict: Dictionary<TValue>): TValue[] {
|
||||
return Object.keys(dict).map(key => dict[key]);
|
||||
return Object.keys(dict).map((key) => dict[key]);
|
||||
}
|
||||
|
||||
// A recursive partial type to allow passing nested partial attributes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue