OptionalincludeOptional glob pattern (minimatch) to restrict which files are searched.
E.g. '**/*.service.ts'. When omitted all project source files are
searched.
OptionalincludeScan .ts files under rootDir that are not part of the program
(text/pattern modes only). Defaults to true when rootDir is set.
OptionalincludeScan .html files under rootDir (text/pattern modes only).
Defaults to true when rootDir is set.
OptionalmaxMaximum number of results to return. When omitted all matches are returned.
text — literal substring matchpattern — regular expression matchsymbol — TypeScript named declaration lookupOptionalrootProject root used to discover files that are not part of the ts-morph program. When omitted only program files are searched.
Options for
CodebaseSearcher.search().