source: trip-planner-front/node_modules/@angular/cdk/schematics/update-tool/utils/decorators.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: 839 bytes
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 */
8import * as ts from 'typescript';
9import { Import } from './imports';
10export declare type CallExpressionDecorator = ts.Decorator & {
11 expression: ts.CallExpression;
12};
13export interface NgDecorator {
14 name: string;
15 node: CallExpressionDecorator;
16}
17/**
18 * Gets all decorators which are imported from an Angular package
19 * (e.g. "@angular/core") from a list of decorators.
20 */
21export declare function getAngularDecorators(typeChecker: ts.TypeChecker, decorators: readonly ts.Decorator[]): readonly NgDecorator[];
22export declare function getCallDecoratorImport(typeChecker: ts.TypeChecker, decorator: ts.Decorator): Import | null;
Note: See TracBrowser for help on using the repository browser.