UNPKG

1.11 kBTypeScriptView 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/language-service/common/quick_info" />
9import * as ts from 'typescript';
10export declare const ALIAS_NAME: string;
11export declare const SYMBOL_INTERFACE: string;
12export declare const SYMBOL_PUNC: string;
13export declare const SYMBOL_SPACE: string;
14export declare const SYMBOL_TEXT: string;
15/**
16 * Construct a QuickInfo object taking into account its container and type.
17 * @param name Name of the QuickInfo target
18 * @param kind component, directive, pipe, etc.
19 * @param textSpan span of the target
20 * @param containerName either the Symbol's container or the NgModule that contains the directive
21 * @param type user-friendly name of the type
22 * @param documentation docstring or comment
23 */
24export declare function createQuickInfo(name: string, kind: string, textSpan: ts.TextSpan, containerName?: string, type?: string, documentation?: ts.SymbolDisplayPart[]): ts.QuickInfo;