Angular Modernizer
    Preparing search index...

    A single search result.

    interface SearchResult {
        col: number;
        file: string;
        line: number;
        snippet: string;
        source?: "program" | "non-program";
        symbolKind?: SymbolKind;
    }
    Index

    Properties

    col: number

    1-based column of the match start.

    file: string

    Absolute file path.

    line: number

    1-based line number of the match.

    snippet: string

    The source line (trimmed) containing the match.

    source?: "program" | "non-program"

    program when the file is part of the ts-morph program, non-program when it was found by the file-system scan (templates, non-program .ts).

    symbolKind?: SymbolKind

    Set in symbol mode to classify the declaration type. Absent in text and pattern modes.