source: trip-planner-front/node_modules/@angular/core/schematics/utils/typescript/property_name.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: 848 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 */
8/// <amd-module name="@angular/core/schematics/utils/typescript/property_name" />
9import * as ts from 'typescript';
10/** Type that describes a property name with an obtainable text. */
11declare type PropertyNameWithText = Exclude<ts.PropertyName, ts.ComputedPropertyName>;
12/**
13 * Gets the text of the given property name. Returns null if the property
14 * name couldn't be determined statically.
15 */
16export declare function getPropertyNameText(node: ts.PropertyName): string | null;
17/** Checks whether the given property name has a text. */
18export declare function hasPropertyNameText(node: ts.PropertyName): node is PropertyNameWithText;
19export {};
Note: See TracBrowser for help on using the repository browser.