mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
That way we dont “unload” and “load” fragments. This fixes black screens and slow transitions with opengl or cameras
21 lines
1.4 KiB
TypeScript
21 lines
1.4 KiB
TypeScript
import * as ts from 'typescript';
|
|
export declare function getMainModulePath(entryFilePath: string, tsConfigName: string): string;
|
|
export declare function findBootstrapModuleCall(mainPath: string): ts.CallExpression | null;
|
|
export declare function findBootstrapModuleCallInSource(source: ts.SourceFile): ts.CallExpression | null;
|
|
export declare function findNativeScriptPlatformCallInSource(source: ts.SourceFile): ts.CallExpression | null;
|
|
export declare function findMethodCallInSource(source: ts.SourceFile, methodName: string): ts.CallExpression | null;
|
|
export declare function findBootstrappedModulePath(mainPath: string): string;
|
|
export declare function findBootstrappedModulePathInSource(source: ts.SourceFile): string;
|
|
export declare function findNativeScriptPlatformPathInSource(source: ts.SourceFile): string;
|
|
export declare function getAppModulePath(mainPath: string): string;
|
|
export declare function findIdentifierNode(node: ts.Node, text: string): ts.Node | null;
|
|
export declare function getObjectPropertyMatches(objectNode: ts.ObjectLiteralExpression, sourceFile: ts.SourceFile, targetPropertyName: string): ts.ObjectLiteralElement[];
|
|
export declare function getDecoratorMetadata(source: ts.SourceFile, identifier: string, module: string): ts.Node[];
|
|
export declare function angularImportsFromNode(
|
|
node: ts.ImportDeclaration,
|
|
_sourceFile: ts.SourceFile
|
|
): {
|
|
[name: string]: string;
|
|
};
|
|
export declare function getExpressionName(expression: ts.Expression): string;
|