Type Definition Versions
swc_ecma_preset_env
type Versions = BrowserData<Option<Version>>;
impl TryFrom<Option<Targets>> for Versions
type Error = ()
The type returned in the event of a conversion error.
fn try_from(v: Option<Targets>) -> Result<Self, Self::Error>
Performs the conversion.