Skip to main content
Module

x/ts_morph/mod.ts>BigIntLiteral

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