Nog CLI Developer Guide - v0.11.0
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Converts an array of TypeScript AST nodes into a formatted string.

      Parameters

      • nodes: Node[]

        The AST nodes to print.

      • filename: string = 'virtual.ts'

        A virtual filename used by the TypeScript compiler for context.

      Returns Promise<IAstPrintedFile>

      The generated TypeScript source code.