Module

x/ts_morph/mod.ts>NoSubstitutionTemplateLiteral

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class NoSubstitutionTemplateLiteral
extends NoSubstitutionTemplateLiteralBase<ts.NoSubstitutionTemplateLiteral>
import { NoSubstitutionTemplateLiteral } from "https://dotland.deno.dev/x/ts_morph@18.0.0/mod.ts";

Methods

getLiteralValue(): string

Gets the literal value.

getParent(): NodeParentType<ts.NoSubstitutionTemplateLiteral>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.NoSubstitutionTemplateLiteral>>

Sets the literal value.

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