Last change
on this file 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" />
|
---|
9 | import { AST, TmplAstNode } from '@angular/compiler';
|
---|
10 | import * as ts from 'typescript';
|
---|
11 | import { ErrorCode } from '../../../../diagnostics';
|
---|
12 | import { NgTemplateDiagnostic } from '../../../api';
|
---|
13 | import { 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 | */
|
---|
19 | export 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.