The documentation says --lib
is derived from --target
by default:
Note: If --lib is not specified a default list of libraries are injected. The default libraries injected are:
- For --target ES5: DOM,ES5,ScriptHost
- For --target ES6: DOM,ES6,DOM.Iterable,ScriptHost
The same documentation says that the default --target
value is ES3:
Specify ECMAScript target version:
- "ES3" (default)
- "ES5"
- "ES6"/"ES2015"
- "ES2016"
- "ES2017"
- "ES2018"
- "ES2019"
- "ES2020"
- "ESNext"
So... what is --lib
default value when neither --lib
nor --target
is set?