Skip to main content
Deno 2 is finally here 🎉️
Learn more
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@16.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(): 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@16.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<StaticableNodeExtensionType>