/**
 * Augments a component's prop type with an explicit `children?: ReactNode` field.
 * Workaround for legacy 3rd-party components (e.g. `react-dnd` v9 `DndProvider`,
 * `redux-dynamic-modules-react`'s `DynamicModuleLoader`) whose typings predate the
 * React 18 change where `children` is no longer part of `FC<P>` implicitly.
 */
export var withChildrenProp = function (Component) {
    return Component;
};
