Skip to main content
Module

x/ts_morph/mod.ts>ExportableNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface ExportableNode
implements ExportGetableNode
import { type ExportableNode } from "https://deno.land/x/ts_morph@15.1.0/mod.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/ts_morph@15.1.0/mod.ts";

Type Parameters

T extends Constructor<ExportableNodeExtensionType>