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

Type Parameters

T extends Constructor<StaticableNodeExtensionType>