import { type ExportGetableNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
getExportKeyword(): Node | undefined
Gets the export keyword or undefined if none exists.
getExportKeywordOrThrow(message?: string | (() => string)): Node
Gets the export keyword or throws if none exists.
getDefaultKeyword(): Node | undefined
Gets the default keyword or undefined if none exists.
getDefaultKeywordOrThrow(message?: string | (() => string)): Node
Gets the default keyword or throws if none exists.
Gets if the node is exported from a namespace, is a default export, or is a named export.
import { ExportGetableNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Type Parameters
T extends Constructor<ExportGetableNodeExtensionType>
Parameters
Base: T