Interface for a processor object.

interface Processor<PType> {
    id?: string;
    processor: AnnotationProcessor<PType>;
    [key: string]: any;
}

Type Parameters

  • PType = any

    The type of the processed content.

Indexable

[key: string]: any

Properties

Properties

id?: string

Optional identifier for the processor.

The processor function.