1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { workspaces } from '@angular-devkit/core';
|
9 | import { Tree } from '@angular-devkit/schematics/src/tree/interface';
|
10 | import * as ts from 'typescript';
|
11 | export declare function getProject(host: Tree, projectName: string): Promise<workspaces.ProjectDefinition>;
|
12 | export declare function stripTsExtension(file: string): string;
|
13 | export declare function getOutputPath(host: Tree, projectName: string, target: 'server' | 'build'): Promise<string>;
|
14 | export declare function findImport(sourceFile: ts.SourceFile, moduleName: string, symbolName: string): ts.NamedImports | null;
|
15 | export type Import = {
|
16 | name: string;
|
17 | importModule: string;
|
18 | node: ts.ImportDeclaration;
|
19 | };
|
20 |
|
21 | export declare function getImportOfIdentifier(typeChecker: ts.TypeChecker, node: ts.Identifier): Import | null;
|
22 | export declare function addInitialNavigation(node: ts.CallExpression): ts.CallExpression;
|