@nrwl/workspace
Version:
24 lines (23 loc) • 1.02 kB
TypeScript
import { Tree } from '@nrwl/devkit';
import type * as ts from 'typescript';
export { compileTypeScript } from './typescript/compilation';
export type { TypeScriptCompilationOptions } from './typescript/compilation';
export { findNodes } from './typescript/find-nodes';
export { getSourceNodes } from './typescript/get-source-nodes';
/**
* Find a module based on it's import
*
* @param importExpr Import used to resolve to a module
* @param filePath
* @param tsConfigPath
*/
export declare function resolveModuleByImport(importExpr: string, filePath: string, tsConfigPath: string): string;
export declare function ensureTypescript(): typeof ts;
/**
* @deprecated Please import this from @nrwl/js instead. This function will be removed in v17
*/
export declare function getRelativePathToRootTsConfig(tree: Tree, targetPath: string): string;
/**
* @deprecated Please import this from @nrwl/js instead. This function will be removed in v17
*/
export declare function getRootTsConfigPathInTree(tree: Tree): string;