Function esEvaluate

  • Generates code and evaluates it.

    Parameters

    Returns Promise<unknown>

    Promise resolved to module exports.

  • Generates IIFE code and evaluates it.

    Parameters

    • Rest ...snippets: EsSnippet[]

      Evaluated code snippets.

    Returns Promise<unknown>

    Promise resolved to module exports.

    Throws

    Rejects with EsEvaluationError if code evaluation failed.

Generated using TypeDoc