Skip to main content
Module

x/ts_morph/ts_morph.d.ts>NoSubstitutionTemplateLiteral

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class NoSubstitutionTemplateLiteral
extends NoSubstitutionTemplateLiteralBase<ts.NoSubstitutionTemplateLiteral>
import { NoSubstitutionTemplateLiteral } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.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.