Skip to main content
Module

x/deno2node/src/deps.deno.ts>SyntaxList#addChildText

Compile your Deno project to run on Node.js.
Latest
method SyntaxList.prototype.addChildText
import { SyntaxList } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";

Adds text at the end of the current children.

Parameters

textOrWriterFunction: string | WriterFunction | ReadonlyArray<string | WriterFunction>
  • Text to add or function that provides a writer to write with.

Returns

Node<ts.Node>[]

The children that were added.