Skip to main content
Module

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

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

Methods

Gets the base types.

Gets all the implementations of the interface.

This is similar to "go to implementation."

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

Gets the structure equivalent to this node.

set(structure: Partial<InterfaceDeclarationStructure>): this

Sets the node from a structure.