Skip to main content
Module

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

Compile your Deno project to run on Node.js.
Go to Latest
interface ExportableNode
implements ExportGetableNode
import { type ExportableNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Methods

setIsDefaultExport(value: boolean): this

Sets if this node is a default export of a file.

setIsExported(value: boolean): this

Sets if the node is exported.

Note: Will remove the default keyword if set.

function ExportableNode
import { ExportableNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Type Parameters

T extends Constructor<ExportableNodeExtensionType>