Skip to content

micro-design-docs / Exports / MyClass

Class: MyClass

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MyClass()

构造函数

Defined in

index.ts:24

Properties

prop1

prop1: number

类的属性

Defined in

index.ts:21

Methods

privateMethod1

Private privateMethod1(param1, param2): number

私有方法

Parameters

NameTypeDescription
param1number第一个参数
param2number第二个参数

Returns

number

两数之和

Defined in

index.ts:42


publicMethod

publicMethod(param1, param2): number

公共方法

Parameters

NameType
param1number
param2number

Returns

number

Defined in

index.ts:47


staticMethod1

Static staticMethod1(param): Promise<string[]>

静态方法

Parameters

NameTypeDescription
paramstring[]参数,字符串列表

Returns

Promise<string[]>

返回 Promise 对象

Defined in

index.ts:33

Released under the MIT License.