cafe-utility
Advanced tools
Comparing version 23.3.0 to 23.4.0
@@ -456,2 +456,14 @@ type Indexable = number | string; | ||
} | ||
export declare class Lazy<T> { | ||
private readonly supplier; | ||
private value; | ||
constructor(supplier: () => T); | ||
get(): T; | ||
} | ||
export declare class AsyncLazy<T> { | ||
private readonly supplier; | ||
private value; | ||
constructor(supplier: () => Promise<T>); | ||
get(): Promise<T>; | ||
} | ||
interface Newable<T> extends Function { | ||
@@ -458,0 +470,0 @@ new (...args: any[]): T; |
{ | ||
"name": "cafe-utility", | ||
"version": "23.3.0", | ||
"version": "23.4.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
125048
3656