UNPKG

reducer-tools

Version:
5 lines (4 loc) 225 B
export declare type Mirrored<T extends Record<string, any>> = { [K in keyof T]: K; }; export declare const typedKeyMirror: <T extends Record<string, any>>(keyMap: T, namespace: string, separator?: string) => Mirrored<T>;