UNPKG

1.5 kBTypeScriptView Raw
1import * as ts from 'typescript';
2/**
3 * Return true if node is `PropertyAccessExpression`
4 * @param node A TypeScript node
5 */
6export declare function isPropertyAccessExpression(node: ts.Node): node is ts.PropertyAccessExpression;
7/**
8 * Return true if node is `CallExpression`
9 * @param node A TypeScript node
10 */
11export declare function isCallExpression(node: ts.Node): node is ts.CallExpression;
12/**
13 * Return true if node is `Identifier`
14 * @param node A TypeScript node
15 */
16export declare function isIdentifier(node: ts.Node): node is ts.Identifier;
17/**
18 * Return true if node is `VariableDeclaration`
19 * @param node A TypeScript node
20 */
21export declare function isVariableDeclaration(node: ts.Node): node is ts.VariableDeclaration;
22/**
23 * Return true if node is `ExportAssignment`
24 * @param node A TypeScript node
25 */
26export declare function isExportAssignment(node: ts.Node): node is ts.ExportAssignment;
27/**
28 * Return true if node is `TaggedTemplateExpression`
29 * @param node A TypeScript node
30 */
31export declare function isTaggedTemplateExpression(node: ts.Node): node is ts.TaggedTemplateExpression;
32/**
33 * Return true if node is `TemplateExpression`
34 * @param node A TypeScript node
35 */
36export declare function isTemplateExpression(node: ts.Node): node is ts.TemplateExpression;
37/**
38 * Return true if node is `NoSubstitutionTemplateLiteral`
39 * @param node A TypeScript node
40 */
41export declare function isNoSubstitutionTemplateLiteral(node: ts.Node): node is ts.NoSubstitutionTemplateLiteral;