Module

x/ts_morph/mod.ts>ScopeableNode

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

Methods

getScope(): Scope | undefined

Gets the scope.

setScope(scope: Scope | undefined): this

Sets the scope.

hasScopeKeyword(): boolean

Gets if the node has a scope keyword.

function ScopeableNode
import { ScopeableNode } from "https://dotland.deno.dev/x/ts_morph@17.0.0/mod.ts";

Type Parameters

T extends Constructor<ScopeableNodeExtensionType>