Skip to main content
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://deno.land/x/ts_morph@15.1.0/mod.ts";

Methods

getLiteralValue(): string

Gets the literal value.

getParent(): NodeParentType<ts.NoSubstitutionTemplateLiteral>
getParentOrThrow(): NonNullable<NodeParentType<ts.NoSubstitutionTemplateLiteral>>

Sets the literal value.

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