source: trip-planner-front/node_modules/@angular/core/schematics/utils/typescript/symbol.d.ts@ fa375fe

Last change on this file since fa375fe 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/core/schematics/utils/typescript/symbol" />
9import * as ts from 'typescript';
10export declare function getValueSymbolOfDeclaration(node: ts.Node, typeChecker: ts.TypeChecker): ts.Symbol | undefined;
11/** Checks whether a node is referring to a specific import specifier. */
12export declare function isReferenceToImport(typeChecker: ts.TypeChecker, node: ts.Node, importSpecifier: ts.ImportSpecifier): boolean;
13/** Checks whether a node's type is nullable (`null`, `undefined` or `void`). */
14export declare function isNullableType(typeChecker: ts.TypeChecker, node: ts.Node): boolean;
15/**
16 * Walks through the types and sub-types of a node, looking for a
17 * type that has the same name as one of the passed-in ones.
18 */
19export declare function hasOneOfTypes(typeChecker: ts.TypeChecker, node: ts.Node, types: string[]): boolean;
Note: See TracBrowser for help on using the repository browser.