Angular Modernizer
    Preparing search index...

    Options for CodebaseSearcher.search().

    interface SearchOptions {
        include?: string;
        includeNonProgramFiles?: boolean;
        includeTemplates?: boolean;
        maxResults?: number;
        mode: "symbol" | "pattern" | "text";
        rootDir?: string;
    }
    Index

    Properties

    include?: string

    Optional glob pattern (minimatch) to restrict which files are searched. E.g. '**/*.service.ts'. When omitted all project source files are searched.

    includeNonProgramFiles?: boolean

    Scan .ts files under rootDir that are not part of the program (text/pattern modes only). Defaults to true when rootDir is set.

    includeTemplates?: boolean

    Scan .html files under rootDir (text/pattern modes only). Defaults to true when rootDir is set.

    maxResults?: number

    Maximum number of results to return. When omitted all matches are returned.

    mode: "symbol" | "pattern" | "text"
    • text — literal substring match
    • pattern — regular expression match
    • symbol — TypeScript named declaration lookup
    rootDir?: string

    Project root used to discover files that are not part of the ts-morph program. When omitted only program files are searched.