Angular Modernizer
    Preparing search index...

    Output of the trace-output-flow tool.

    interface TraceOutputFlowOutput {
        alternatives: { className: string; file: string; selector: string }[];
        availableOutputs: string[];
        counts: {
            bindings: number;
            dynamicHosts: number;
            effects: number;
            emitSites: number;
            hosts: number;
            outputs: number;
            subscriptions: number;
            templatesScanned: number;
        };
        dynamic?: DynamicFlowOutput;
        outputs: OutputFlowOutput[];
        summary: string;
        target?: {
            className: string;
            file: string;
            kind: "component"
            | "directive";
            selector: string;
        };
        truncated: boolean;
        tsConfigPath: string;
        unknownOutput?: string;
        warnings?: string[];
    }

    Hierarchy

    Index

    Properties

    alternatives: { className: string; file: string; selector: string }[]

    Other classes that matched the query, as in ComponentHostFinder.findHosts.

    Type Declaration

    • className: string

      Class name.

    • file: string

      File of the class.

    • selector: string

      Selector from the decorator.

    availableOutputs: string[]

    Public names of all outputs of the target.

    counts: {
        bindings: number;
        dynamicHosts: number;
        effects: number;
        emitSites: number;
        hosts: number;
        outputs: number;
        subscriptions: number;
        templatesScanned: number;
    }

    Totals over all traced outputs.

    Type Declaration

    • bindings: number

      Template bindings over all outputs.

    • dynamicHosts: number

      Hosts in OutputFlowResult.dynamic; 0 without it.

    • effects: number

      Payload effects of the template bindings over all outputs.

    • emitSites: number

      Emit sites over all outputs.

    • hosts: number

      Template hosts of the target.

    • outputs: number

      Number of traced outputs.

    • subscriptions: number

      Subscriptions in code over all outputs.

    • templatesScanned: number

      Templates scanned for hosts.

    Components created in code: data injected, close sites, creation sites with result handlers.

    outputs: OutputFlowOutput[]

    Traced outputs.

    summary: string

    Short text summary of the traced flows.

    target?: {
        className: string;
        file: string;
        kind: "component" | "directive";
        selector: string;
    }

    The matched class; absent when nothing matched the query.

    Type Declaration

    • className: string

      Class name.

    • file: string

      File of the class.

    • kind: "component" | "directive"

      Component or directive.

    • selector: string

      Selector from the decorator.

    truncated: boolean

    true when the effect budget or maxResults cut a list.

    tsConfigPath: string

    The tsconfig whose program was used.

    unknownOutput?: string

    Set when output named nothing the target declares.

    warnings?: string[]

    Conditions that can make the result incomplete (unresolved library imports).