Skip to content
On this page

Class: Person

This class represents a person.

Constructors

new Person

new Person(name): Person

Parameters

ParameterTypeDescription
namestringPerson's name

Returns

Person

Defined In

index.ts:10

Properties

name

name: string

Defined In

index.ts:5

Methods

selfIntroduce

selfIntroduce(): string

Say hello and introduce oneself.

Returns

string

Self-introduction phrase.

Defined In

index.ts:17


Generated using TypeDoc and typedoc-plugin-markdown