UNPKG

@nx/js

Version:

The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.

11 lines (10 loc) 796 B
import { Tree } from '@nx/devkit'; import type * as ts from 'typescript'; export declare function readTsConfig(tsConfigPath: string, sys?: ts.System): ts.ParsedCommandLine; export declare function readTsConfigFromTree(tree: Tree, tsConfigPath: string): ts.ParsedCommandLine; export declare function getRootTsConfigPathInTree(tree: Tree): string | null; export declare function getRelativePathToRootTsConfig(tree: Tree, targetPath: string): string; export declare function getRootTsConfigPath(): string | null; export declare function getRootTsConfigFileName(tree?: Tree): string | null; export declare function addTsConfigPath(tree: Tree, importPath: string, lookupPaths: string[]): void; export declare function readTsConfigPaths(tsConfig?: string | ts.ParsedCommandLine): ts.MapLike<string[]>;