Skip to main content
Module

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

Compile your Deno project to run on Node.js.
Go to Latest
class SetAccessorDeclaration
extends SetAccessorDeclarationBase<ts.SetAccessorDeclaration>
import { SetAccessorDeclaration } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Methods

Gets the corresponding get accessor if one exists.

getGetAccessorOrThrow(message?: string | (() => string)): GetAccessorDeclaration

Gets the corresponding get accessor or throws if not exists.

getParent(): NodeParentType<ts.SetAccessorDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.SetAccessorDeclaration>>

Gets the structure equivalent to this node.

set(structure: Partial<SetAccessorDeclarationStructure>): this

Sets the node from a structure.