source: trip-planner-front/node_modules/@angular/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.0 KB
Line 
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/typecheck/extended/checks/invalid_banana_in_box" />
9import { AST, TmplAstNode } from '@angular/compiler';
10import * as ts from 'typescript';
11import { ErrorCode } from '../../../../diagnostics';
12import { NgTemplateDiagnostic } from '../../../api';
13import { TemplateCheckWithVisitor, TemplateContext } from '../../api';
14/**
15 * Ensures the two-way binding syntax is correct.
16 * Parentheses should be inside the brackets "[()]".
17 * Will return diagnostic information when "([])" is found.
18 */
19export declare class InvalidBananaInBoxCheck extends TemplateCheckWithVisitor<ErrorCode.INVALID_BANANA_IN_BOX> {
20 code: ErrorCode.INVALID_BANANA_IN_BOX;
21 visitNode(ctx: TemplateContext, component: ts.ClassDeclaration, node: TmplAstNode | AST): NgTemplateDiagnostic<ErrorCode.INVALID_BANANA_IN_BOX>[];
22}
Note: See TracBrowser for help on using the repository browser.