summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/lowercase-keys/index.d.ts
blob: c500205fb7671f706af35a2a732b289ee4135275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
Lowercase the keys of an object.

@returns A new object with the keys lowercased.

@example
```
import lowercaseKeys from 'lowercase-keys';

lowercaseKeys({FOO: true, bAr: false});
//=> {foo: true, bar: false}
```
*/
export default function lowercaseKeys<T>(object: Record<string, T>): Record<string, T>;