View Source on Github
Attributes
base_config
TSConfig | None
Returns the base TSConfig that this config inherits from.base_url
str | None
config
dict
config_file
The configuration file object representing the tsconfig.json file.
config_parser
TSConfigParser
out_dir
str | None
path_import_aliases
dict[str, list[str]]
paths
dict[str, list[str]]
reference_import_aliases
dict[str, list[str]]
references
Returns a list of directories that this TypeScript configuration file depends on.
root_dir
str | None
root_dirs
list[str]
Methods
resolve_base_url
Resolves an import path with the base url.View Source on Github
Returns
str
translate_absolute_path
Translates an absolute path to an import path using the tsconfig paths.View Source on Github
Parameters
import_path
str
required
Returns
str
translate_import_path
Translates an import path to an absolute path using the tsconfig paths.View Source on Github
Parameters
import_path
str
required
Returns
str