UNPKG
lazy-val
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Lazy value.
github.com/develar/lazy-val
develar/lazy-val
lazy-val
/
out
/
main.d.ts
8 lines
(7 loc)
•
173 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
declare
class
Lazy
<T> {
private
_value;
private
creator;
constructor
(
creator
: () =>
Promise
<T>
);
readonly
hasValue
:
boolean
;
value
:
Promise
<T>; }