1 | import { Program, SourceFile, TypeChecker } from "typescript";
|
2 | import { AnalyzerOptions } from "./types/analyzer-options";
|
3 | import { AnalyzerResult } from "./types/analyzer-result";
|
4 | export interface IVirtualSourceFile {
|
5 | fileName: string;
|
6 | text?: string;
|
7 | analyze?: boolean;
|
8 | includeLib?: boolean;
|
9 | }
|
10 | export type VirtualSourceFile = IVirtualSourceFile | string;
|
11 | export interface AnalyzeTextResult {
|
12 | results: AnalyzerResult[];
|
13 | checker: TypeChecker;
|
14 | program: Program;
|
15 | analyzedSourceFiles: SourceFile[];
|
16 | }
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export declare function analyzeText(inputFiles: VirtualSourceFile[] | VirtualSourceFile, config?: Partial<AnalyzerOptions>): AnalyzeTextResult;
|
23 |
|
\ | No newline at end of file |