Module

x/ts_morph/mod.ts>EnumDeclaration#addMembers

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method EnumDeclaration.prototype.addMembers
import { EnumDeclaration } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";

Adds members to the enum.

Parameters

structures: ReadonlyArray<OptionalKind<EnumMemberStructure>>
  • Structures of the enums.

Adds members to the enum.

Parameters

structures: ReadonlyArray<OptionalKind<EnumMemberStructure> | WriterFunction | string> | string | WriterFunction
  • Structures of the enums.