workflow_launcher/node_modules/lowercase-keys/index.d.ts

17 lines
351 B
TypeScript
Raw Normal View History

2024-03-11 11:01:07 -04: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;