interface DiscriminatorObject {
    mapping?: Record<string, string>;
    propertyName: string;
}

Properties

mapping?: Record<string, string>
propertyName: string