auth-api/tests/node_modules/lowercase-keys/index.d.ts

17 lines
351 B
TypeScript
Raw Normal View History

2021-06-23 22:30:45 +02:00
/**
Lowercase the keys of an object.
@returns A new object with the keys lowercased.
@example
```
import lowercaseKeys = require('lowercase-keys');
lowercaseKeys({FOO: true, bAr: false});
//=> {foo: true, bar: false}
```
*/
declare function lowercaseKeys<T extends unknown>(object: {[key: string]: T}): {[key: string]: T};
export = lowercaseKeys;