• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • svelte-ast-print
  • svelte-ast-print
  • print

Function print

  • print<N extends Node | SvelteOnlyNode>(
        n: N,
        opts?: Partial<PrintOptions>,
    ): Result<N>
  • Type Parameters

    • N extends Node | SvelteOnlyNode

    Parameters

    • n: N

      Svelte or ESTree AST node

    • Optionalopts: Partial<PrintOptions> = {}

      printing options

    Returns Result<N>

    Stringified Svelte AST node

    • Defined in pkgs/svelte-ast-print/src/lib.js:71

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc