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

Function printSvelte

  • printSvelte<N extends SvelteOnlyNode>(
        n: N,
        opts?: Partial<PrintOptions>,
    ): Result<N>

    Type Parameters

    • N extends SvelteOnlyNode

    Parameters

    • n: N

      Svelte AST node

    • opts: Partial<PrintOptions> = {}

      printing options

    Returns Result<N>

    Stringified Svelte AST node

    Since

    1.0.0

    @NO_SIDE_EFFECTS

    • Defined in pkgs/svelte-ast-print/src/lib.ts:107

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc