Module

x/ts_morph/ts_morph.d.ts>StaticableNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface StaticableNode
import { type StaticableNode } from "https://dotland.deno.dev/x/ts_morph@18.0.0/ts_morph.d.ts";

Methods

isStatic(): boolean

Gets if it's static.

getStaticKeyword(): Node | undefined

Gets the static keyword, or undefined if none exists.

getStaticKeywordOrThrow(message?: string | (() => string)): Node

Gets the static keyword, or throws if none exists.

setIsStatic(value: boolean): this

Sets if the node is static.

function StaticableNode
import { StaticableNode } from "https://dotland.deno.dev/x/ts_morph@18.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<StaticableNodeExtensionType>