1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | import { CompilerOptions } from '@angular/compiler-cli';
|
10 | import * as ts from 'typescript/lib/tsserverlibrary';
|
11 | export declare class LanguageService {
|
12 | private readonly tsLS;
|
13 | private options;
|
14 | private readonly compilerFactory;
|
15 | private readonly strategy;
|
16 | private readonly adapter;
|
17 | constructor(project: ts.server.Project, tsLS: ts.LanguageService);
|
18 | getSemanticDiagnostics(fileName: string): ts.Diagnostic[];
|
19 | getDefinitionAndBoundSpan(fileName: string, position: number): ts.DefinitionInfoAndBoundSpan | undefined;
|
20 | getTypeDefinitionAtPosition(fileName: string, position: number): readonly ts.DefinitionInfo[] | undefined;
|
21 | getQuickInfoAtPosition(fileName: string, position: number): ts.QuickInfo | undefined;
|
22 | private watchConfigFile;
|
23 | }
|
24 | export declare function parseNgCompilerOptions(project: ts.server.Project): CompilerOptions;
|