Skip to main content
Module

x/ts_morph/ts_morph.d.ts>EnumDeclaration#addMembers

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method EnumDeclaration.prototype.addMembers
import { EnumDeclaration } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.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.