reports/frontend/node_modules/es-toolkit/dist/compat/object/invert.d.mts
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

14 lines
No EOL
368 B
TypeScript

//#region src/compat/object/invert.d.ts
/**
* Inverts the keys and values of an object.
*
* @param object - The object to invert.
* @returns Returns the new inverted object.
*
* @example
* invert({ a: 1, b: 2, c: 3 });
* // => { '1': 'a', '2': 'b', '3': 'c' }
*/
declare function invert(object: object): Record<string, string>;
//#endregion
export { invert };