Module

x/ts_morph/ts_morph.d.ts>StringLiteral#getLiteralValue

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method StringLiteral.prototype.getLiteralValue
import { StringLiteral } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.d.ts";

Gets the literal value.

This is equivalent to .getLiteralText() for string literals and only exists for consistency with other literals.

Returns

string