Struct swc_ecma_transforms_proposal::decorators::Config
source · pub struct Config {
pub legacy: bool,
pub emit_metadata: bool,
pub use_define_for_class_fields: bool,
}
Fields§
§legacy: bool
§emit_metadata: bool
§use_define_for_class_fields: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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