2022-05-31 15:28:14 +03:00

17 lines
503 B
TypeScript

import type { ComputedValues } from 'stores/calculation/values/computed';
function wrapElementsMap<T extends Record<string, ComputedValues>>(arg: T) {
return arg;
}
const elementsToComputed = wrapElementsMap({
labelLeaseObjectRisk: 'leaseObjectRiskName',
tbxInsKaskoPriceLeasePeriod: 'insKaskoPriceLeasePeriod',
labelIrrInfo: 'irrInfo',
labelRegistrationDescription: 'registrationDescription',
});
export default elementsToComputed;
export type Elements = keyof typeof elementsToComputed;