Skip to main content

default_lib_dir

Function default_lib_dir 

Source
pub fn default_lib_dir() -> Result<PathBuf, Error>
Expand description

Get the default lib directory.

Searches in order:

  1. TSZ_LIB_DIR environment variable
  2. Relative to the executable
  3. Relative to current working directory
  4. TypeScript/src/lib in the source tree