Skip to main content
Module

x/deno2node/src/deps.deno.ts>StaticableNode

Compile your Deno project to run on Node.js.
Go to Latest
interface StaticableNode
import { type StaticableNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.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://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Type Parameters

T extends Constructor<StaticableNodeExtensionType>