Skip to main content

parse_tsconfig_root_dir

Function parse_tsconfig_root_dir 

Source
pub fn parse_tsconfig_root_dir(root: &Path) -> Option<String>
Expand description

Parse tsconfig.json at the project root and extract compilerOptions.rootDir.

Returns None if the file is missing, malformed, or has no rootDir set.