Untitled
Anonymous
plain_text
05/17/2023 12:18 PM
216 B
15
Indexable
const result = Object.keys(ids).reduce(
(acc, key) => ({ ...acc, [key]: key }),
{} as Record<keyof T, string>,
);Editor is loading...