1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | import * as ts from 'typescript';
|
10 | import * as ng from './types';
|
11 | export interface DiagnosticMessage {
|
12 | message: string;
|
13 | kind: keyof typeof ts.DiagnosticCategory;
|
14 | }
|
15 | declare type DiagnosticName = 'directive_not_in_module' | 'missing_template_and_templateurl' | 'both_template_and_templateurl' | 'invalid_templateurl' | 'template_context_missing_member' | 'callable_expression_expected_method_call' | 'call_target_not_callable' | 'expression_might_be_null' | 'expected_a_number_type' | 'expected_a_string_or_number_type' | 'expected_operands_of_comparable_types_or_any' | 'unrecognized_operator' | 'unrecognized_primitive' | 'no_pipe_found' | 'unable_to_resolve_compatible_call_signature' | 'unable_to_resolve_signature' | 'could_not_resolve_type' | 'identifier_not_callable' | 'identifier_possibly_undefined' | 'identifier_not_defined_in_app_context' | 'identifier_not_defined_on_receiver' | 'identifier_is_private';
|
16 | export declare const Diagnostic: Record<DiagnosticName, DiagnosticMessage>;
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | export declare function createDiagnostic(span: ng.Span, dm: DiagnosticMessage, ...formatArgs: string[]): ng.Diagnostic;
|
26 | export {};
|