Skip to main content

Function: getExportedRemarkConfigObject()

function getExportedRemarkConfigObject(
declaration: Readonly<DefaultExportDeclarations>
): ObjectExpression | undefined;

Defined in: _internal/remark-config-object.ts:68

Extract the top-level Remark config object from an export default declaration.

Parametersโ€‹

declarationโ€‹

Readonly<DefaultExportDeclarations>

Export default declaration payload.

Returnsโ€‹

ObjectExpression | undefined

Config object expression when the export is supported.