// Prevents core module from being loaded twice by mistak
export function throwIfAlreadyLoaded(parentModule: any, moduleName: string) {
	if (parentModule) {
		const msg = `${moduleName} has already been loaded. Import Core modules in the AppModule only.`;
		throw new Error(msg);
	}
	}