Struct stc_ts_env::Rule
source · [−]pub struct Rule {Show 17 fields
pub no_implicit_any: bool,
pub no_implicit_this: bool,
pub always_strict: bool,
pub strict_null_checks: bool,
pub strict_function_types: bool,
pub allow_unreachable_code: bool,
pub allow_unused_labels: bool,
pub no_fallthrough_cases_in_switch: bool,
pub no_implicit_returns: bool,
pub suppress_excess_property_errors: bool,
pub suppress_implicit_any_index_errors: bool,
pub no_strict_generic_checks: bool,
pub no_unused_locals: bool,
pub no_unused_parameters: bool,
pub use_define_property_for_class_fields: bool,
pub no_lib: bool,
pub jsx: JsxMode,
}
Fields
no_implicit_any: bool
no_implicit_this: bool
always_strict: bool
strict_null_checks: bool
strict_function_types: bool
allow_unreachable_code: bool
allow_unused_labels: bool
no_fallthrough_cases_in_switch: bool
no_implicit_returns: bool
suppress_excess_property_errors: bool
suppress_implicit_any_index_errors: bool
no_strict_generic_checks: bool
no_unused_locals: bool
no_unused_parameters: bool
use_define_property_for_class_fields: bool
no_lib: bool
jsx: JsxMode
Trait Implementations
impl Copy for Rule
Auto Trait Implementations
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more