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