strict
- Type:
boolean|"auto" - Optional
Defined in: options/output-options.ts:726
Whether to always output "use strict" directive in non-ES module outputs.
true- Always emit"use strict"at the top of the output (not applicable for ESM format since ESM is always strict).false- Never emit"use strict"in the output.'auto'- Respect the"use strict"directives from the source code.
See In-depth directive guide for more details.
Default
ts
'auto'