pub struct ResolvedCompilerOptions {Show 37 fields
pub printer: PrinterOptions,
pub checker: CheckerOptions,
pub jsx: Option<JsxEmit>,
pub lib_files: Vec<PathBuf>,
pub lib_is_default: bool,
pub module_resolution: Option<ModuleResolutionKind>,
pub resolve_package_json_exports: bool,
pub resolve_package_json_imports: bool,
pub module_suffixes: Vec<String>,
pub resolve_json_module: bool,
pub allow_arbitrary_extensions: bool,
pub allow_importing_ts_extensions: bool,
pub rewrite_relative_import_extensions: bool,
pub types_versions_compiler_version: Option<String>,
pub types: Option<Vec<String>>,
pub type_roots: Option<Vec<PathBuf>>,
pub base_url: Option<PathBuf>,
pub paths: Option<Vec<PathMapping>>,
pub root_dir: Option<PathBuf>,
pub out_dir: Option<PathBuf>,
pub out_file: Option<PathBuf>,
pub declaration_dir: Option<PathBuf>,
pub emit_declarations: bool,
pub source_map: bool,
pub declaration_map: bool,
pub ts_build_info_file: Option<PathBuf>,
pub incremental: bool,
pub no_emit: bool,
pub no_emit_on_error: bool,
pub no_resolve: bool,
pub import_helpers: bool,
pub no_check: bool,
pub custom_conditions: Vec<String>,
pub es_module_interop: bool,
pub allow_synthetic_default_imports: bool,
pub allow_js: bool,
pub check_js: bool,
}Fields§
§printer: PrinterOptions§checker: CheckerOptions§jsx: Option<JsxEmit>§lib_files: Vec<PathBuf>§lib_is_default: bool§module_resolution: Option<ModuleResolutionKind>§resolve_package_json_exports: bool§resolve_package_json_imports: bool§module_suffixes: Vec<String>§resolve_json_module: bool§allow_arbitrary_extensions: bool§allow_importing_ts_extensions: bool§rewrite_relative_import_extensions: bool§types_versions_compiler_version: Option<String>§types: Option<Vec<String>>§type_roots: Option<Vec<PathBuf>>§base_url: Option<PathBuf>§paths: Option<Vec<PathMapping>>§root_dir: Option<PathBuf>§out_dir: Option<PathBuf>§out_file: Option<PathBuf>§declaration_dir: Option<PathBuf>§emit_declarations: bool§source_map: bool§declaration_map: bool§ts_build_info_file: Option<PathBuf>§incremental: bool§no_emit: bool§no_emit_on_error: bool§no_resolve: boolSkip module graph expansion from imports/references when checking.
import_helpers: bool§no_check: boolDisable full type checking (only parse and emit errors reported).
custom_conditions: Vec<String>Custom conditions for package.json exports resolution
es_module_interop: boolEmit additional JavaScript to ease support for importing CommonJS modules
allow_synthetic_default_imports: boolAllow ‘import x from y’ when a module doesn’t have a default export
allow_js: boolAllow JavaScript files to be part of the program
check_js: boolEnable error reporting in type-checked JavaScript files
Implementations§
Source§impl ResolvedCompilerOptions
impl ResolvedCompilerOptions
pub const fn effective_module_resolution(&self) -> ModuleResolutionKind
Trait Implementations§
Source§impl Clone for ResolvedCompilerOptions
impl Clone for ResolvedCompilerOptions
Source§fn clone(&self) -> ResolvedCompilerOptions
fn clone(&self) -> ResolvedCompilerOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedCompilerOptions
impl Debug for ResolvedCompilerOptions
Source§impl Default for ResolvedCompilerOptions
impl Default for ResolvedCompilerOptions
Source§fn default() -> ResolvedCompilerOptions
fn default() -> ResolvedCompilerOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResolvedCompilerOptions
impl RefUnwindSafe for ResolvedCompilerOptions
impl Send for ResolvedCompilerOptions
impl Sync for ResolvedCompilerOptions
impl Unpin for ResolvedCompilerOptions
impl UnsafeUnpin for ResolvedCompilerOptions
impl UnwindSafe for ResolvedCompilerOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more