Skip to main content

Module config

Module config 

Source

Structs§

CheckerOptions
Compiler options for type checking.
CompilerOptions
ParsedTsConfig
Result of parsing a tsconfig.json with diagnostic collection.
PathMapping
ResolvedCompilerOptions
TsConfig

Enums§

JsxEmit
ModuleResolutionKind

Functions§

checker_target_from_emitter
Convert emitter ScriptTarget to checker ScriptTarget. The emitter has more variants (ES2021, ES2022) which map to ESNext in the checker.
core_lib_name_for_target
Get the core lib name for a target (without DOM/ScriptHost).
default_lib_dir
Get the default lib directory.
default_lib_name_for_target
Get the default lib name for a target.
load_tsconfig
load_tsconfig_with_diagnostics
Load tsconfig.json and collect config-level diagnostics.
parse_tsconfig
parse_tsconfig_with_diagnostics
Parse tsconfig.json source and collect diagnostics for unknown compiler options.
resolve_compiler_options
resolve_default_lib_files
Resolve default lib files for a given target.
resolve_default_lib_files_from_dir
resolve_lib_files
Resolve lib files from names, following /// <reference lib="..." /> directives. This is used when explicitly specifying libs via --lib.
resolve_lib_files_from_dir
resolve_lib_files_from_dir_with_options
resolve_lib_files_with_options
Resolve lib files from names, optionally following /// <reference lib="..." /> directives.