apply prettier styles

This commit is contained in:
restrry 2020-05-22 09:08:58 +02:00
parent 64ad4f3f92
commit bf04235dae
7130 changed files with 31393 additions and 37163 deletions

View file

@ -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.