const mapWidgetModuleToWidgetDictionary = ( widget: WidgetModuleType ) => { return { ...widget, id: "", } as WidgetDictionaryItemType; }; export default mapWidgetModuleToWidgetDictionary;