Skip to main content
Module

x/deno2node/src/deps.deno.ts>printNode

Compile your Deno project to run on Node.js.
Go to Latest
function printNode
import { printNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Prints the provided node using the compiler's printer.

Parameters

node: ts.Node
  • Compiler node.
optional
options: PrintNodeOptions
  • Options.

Returns

string

Prints the provided node using the compiler's printer.

Parameters

node: ts.Node
  • Compiler node.
sourceFile: ts.SourceFile
  • Compiler source file.
optional
options: PrintNodeOptions
  • Options.

Returns

string