pub struct EmitConfigOptions {
pub check_js: bool,
pub experimental_decorators: bool,
pub emit_decorator_metadata: bool,
pub imports_not_used_as_values: String,
pub inline_source_map: bool,
pub inline_sources: bool,
pub source_map: bool,
pub jsx: String,
pub jsx_factory: String,
pub jsx_fragment_factory: String,
pub jsx_import_source: Option<String>,
pub jsx_precompile_skip_elements: Option<Vec<String>>,
}
Expand description
The transpile options that are significant out of a user provided tsconfig file, that we want to deserialize out of the final config for a transpile.
Fields§
§check_js: bool
§experimental_decorators: bool
§emit_decorator_metadata: bool
§imports_not_used_as_values: String
§inline_source_map: bool
§inline_sources: bool
§source_map: bool
§jsx: String
§jsx_factory: String
§jsx_fragment_factory: String
§jsx_import_source: Option<String>
§jsx_precompile_skip_elements: Option<Vec<String>>
Trait Implementations§
Source§impl Debug for EmitConfigOptions
impl Debug for EmitConfigOptions
Source§impl<'de> Deserialize<'de> for EmitConfigOptions
impl<'de> Deserialize<'de> for EmitConfigOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EmitConfigOptions
impl RefUnwindSafe for EmitConfigOptions
impl Send for EmitConfigOptions
impl Sync for EmitConfigOptions
impl Unpin for EmitConfigOptions
impl UnwindSafe for EmitConfigOptions
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