Skip to main content
Module

x/deno2node/src/deps.deno.ts>ClassDeclaration#extractInterface

Compile your Deno project to run on Node.js.
Go to Latest
method ClassDeclaration.prototype.extractInterface
import { ClassDeclaration } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Extracts an interface declaration structure from the class.

Parameters

optional
name: string
  • Name of the interface. Falls back to the same name as the class and then the filepath's base name.