Skip to main content
Module

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

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

Methods

getKeyName(): string

Gets the key name.

Gets the key name node.

Gets the key type.

Gets the key type node.

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

Gets the structure equivalent to this node.

set(structure: Partial<IndexSignatureDeclarationStructure>): this

Sets the node from a structure.

setKeyName(name: string): void

Sets the key name.

setKeyType(type: string): this

Sets the key type.