Skip to main content
Latest
method NoSubstitutionTemplateLiteral.prototype.setLiteralValue
import { NoSubstitutionTemplateLiteral } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";

Sets the literal value.

Note: This could possibly replace the node if you add a tagged template.

Parameters

value: string
  • Value to set.

Returns

The new node if the kind changed; the current node otherwise.