跳至主要內容

Class: instance_base

muzzik小于 1 分钟

index / instance_base

Class: instance_base

继承单例(类型安全)

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

new instance_base()

Methods

instance

Static instance<T>(this, ...args_as_): InstanceType<T>

单例方法

Type parameters

NameType
Textends (...args_as: any[]) => any

Parameters

NameType
thisT
...args_as_ConstructorParameters<T>

Returns

InstanceType<T>

Defined in

assets/@framework/mk_instance_base.ts:4open in new window

📣 觉得很赞?分享给你的朋友吧!