Options
All
  • Public
  • Public/Protected
  • All
Menu

Generates a value line in a TypeScript interface.

Hierarchy

  • InterfaceValueNode

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new InterfaceValueNode(name: string, kind: Kind, optional?: boolean): InterfaceValueNode

Properties

Readonly kind

kind: Kind

Readonly name

name: string

Readonly newLines

newLines: 0 = 0

The number of extra new lines added after the node has generated code.

Readonly optional

optional: boolean

Accessors

type

  • get type(): string

Methods

generateCode

  • generateCode(out: (code: string) => void): void

Generated using TypeDoc