Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_morph/ts_morph.d.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://deno.land/x/ts_morph@16.0.0/ts_morph.d.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://deno.land/x/ts_morph@16.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<ScopeableNodeExtensionType>