UNPKG

1.11 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/// <amd-module name="@angular/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name" />
9/**
10 * Enum holding the name of each extended template diagnostic. The name is used as a user-meaningful
11 * value for configuring the diagnostic in the project's options.
12 *
13 * See the corresponding `ErrorCode` for documentation about each specific error.
14 * packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.ts
15 *
16 * @publicApi
17 */
18export declare enum ExtendedTemplateDiagnosticName {
19 INVALID_BANANA_IN_BOX = "invalidBananaInBox",
20 NULLISH_COALESCING_NOT_NULLABLE = "nullishCoalescingNotNullable",
21 OPTIONAL_CHAIN_NOT_NULLABLE = "optionalChainNotNullable",
22 MISSING_CONTROL_FLOW_DIRECTIVE = "missingControlFlowDirective",
23 TEXT_ATTRIBUTE_NOT_BINDING = "textAttributeNotBinding",
24 MISSING_NGFOROF_LET = "missingNgForOfLet",
25 SUFFIX_NOT_SUPPORTED = "suffixNotSupported"
26}