property
CompileBuildOptions.disallowCodeGenerationFromStrings
disallowCodeGenerationFromStrings?: boolean | 'strict'
In the executable, eval() and the Function constructors throw an EvalError, as with Node.js's --disallow-code-generation-from-strings. "strict" also blocks every other way to run code from a string.
Equivalent CLI flag: --disallow-code-generation-from-strings