UNPKG

1.48 kBTypeScriptView Raw
1import * as ts from "typescript";
2export declare function getMainModulePath(entryFilePath: string, tsConfigName: string): string;
3export declare function findBootstrapModuleCall(mainPath: string): ts.CallExpression | null;
4export declare function findBootstrapModuleCallInSource(source: ts.SourceFile): ts.CallExpression | null;
5export declare function findNativeScriptPlatformCallInSource(source: ts.SourceFile): ts.CallExpression | null;
6export declare function findMethodCallInSource(source: ts.SourceFile, methodName: string): ts.CallExpression | null;
7export declare function findBootstrappedModulePath(mainPath: string): string;
8export declare function findBootstrappedModulePathInSource(source: ts.SourceFile): string;
9export declare function findNativeScriptPlatformPathInSource(source: ts.SourceFile): string;
10export declare function getAppModulePath(mainPath: string): string;
11export declare function findIdentifierNode(node: ts.Node, text: string): ts.Node | null;
12export declare function getObjectPropertyMatches(objectNode: ts.ObjectLiteralExpression, sourceFile: ts.SourceFile, targetPropertyName: string): ts.ObjectLiteralElement[];
13export declare function getDecoratorMetadata(source: ts.SourceFile, identifier: string, module: string): ts.Node[];
14export declare function angularImportsFromNode(node: ts.ImportDeclaration, _sourceFile: ts.SourceFile): {
15 [name: string]: string;
16};
17export declare function getExpressionName(expression: ts.Expression): string;