property SerializeOptions.onEntity

Called for each serialized entity, allowing transformation of the XML output.

Type

<T>(
entity: T,
serialized: string
) => string

Usage

import { type SerializeOptions } from ".";