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

x/ts_morph/ts_morph.d.ts>ScopedNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface ScopedNode
import { type ScopedNode } from "https://deno.land/x/ts_morph@16.0.0/ts_morph.d.ts";

Methods

getScope(): Scope

Gets the scope.

setScope(scope: Scope | undefined): this

Sets the scope.

hasScopeKeyword(): boolean

Gets if the node has a scope keyword.

function ScopedNode
import { ScopedNode } from "https://deno.land/x/ts_morph@16.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<ScopedNodeExtensionType>