Enum tsconfig::Lib [−][src]
pub enum Lib {}Show variants
Es5, Es2015, Es6, Es2016, Es7, Es2017, Es2018, Es2019, Es2020, EsNext, Dom, WebWorker, ScriptHost, DomIterable, Es2015Core, Es2015Generator, Es2015Iterable, Es2015Promise, Es2015Proxy, Es2015Reflect, Es2015Symbol, Es2015SymbolWellKnown, Es2016ArrayInclude, Es2017Object, Es2017Intl, Es2017SharedMemory, Es2017String, Es2017TypedArrays, Es2018Intl, Es2018Promise, Es2018RegExp, Es2019Array, Es2019Object, Es2019String, Es2019Symbol, Es2020String, Es2020SymbolWellknown, EsNextAsyncIterable, EsNextArray, EsNextIntl, EsNextSymbol, Other(String),
Available definitions for built-in JS APIs.
TypeScript includes a default set of type definitions for built-in JS APIs (like Math), as well as type definitions for things found in browser environments (like document). TypeScript also includes APIs for newer JS features matching the target you specify; for example the definition for Map is available if target is ES6 or newer.
You may want to change these for a few reasons:
- Your program doesn’t run in a browser, so you don’t want the “dom” type definitions
- Your runtime platform provides certain JavaScript API objects (maybe through polyfills), but doesn’t yet support the full syntax of a given ECMAScript version
- You have polyfills or native implementations for some, but not all, of a higher level ECMAScript version
Variants
Other(String)
Trait Implementations
impl<'de> Deserialize<'de> for Lib
[src]
impl<'de> Deserialize<'de> for Lib
[src]fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl StructuralPartialEq for Lib
[src]
impl StructuralPartialEq for Lib
[src]Auto Trait Implementations
impl RefUnwindSafe for Lib
impl RefUnwindSafe for Lib
impl UnwindSafe for Lib
impl UnwindSafe for Lib
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]