UNPKG
@sontrx/typia
Version:
latest (7.6.4)
7.6.4
7.6.3
Superfast runtime validators with only one line
typia.io
samchon/typia
@sontrx/typia
/
lib
/
utils
/
Singleton.d.ts
7 lines
(6 loc)
•
189 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
declare
class
Singleton
<T,
Args
extends
any
[] = []> {
private
readonly
closure_;
private
value_;
constructor
(
closure
: (...args: Args) => T
);
get
(...
args
:
Args
): T; }