UNPKG

741 BTypeScriptView 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/transformers/downlevel_decorators_transform/patch_alias_reference_resolution" />
9import ts from 'typescript';
10/**
11 * Gets whether a given node corresponds to an import alias declaration. Alias
12 * declarations can be import specifiers, namespace imports or import clauses
13 * as these do not declare an actual symbol but just point to a target declaration.
14 */
15export declare function isAliasImportDeclaration(node: ts.Node): node is ts.ImportSpecifier | ts.NamespaceImport | ts.ImportClause;