Module

x/ts_morph/mod.ts>BigIntLiteral

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

Methods

getLiteralValue(): unknown

Gets the BigInt literal value.

Assert this as a bigint in environments that support it.

getParent(): NodeParentType<ts.BigIntLiteral>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.BigIntLiteral>>
setLiteralValue(value: unknown): this

Sets the bigint literal value.