@infra-blocks/types 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/func.d.ts +6 -0
- package/lib/esm/func.d.ts +6 -0
- package/package.json +1 -1
package/lib/cjs/func.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The abstract version of {@link Constructor}.
|
|
3
|
+
*
|
|
4
|
+
* Useful when the constructor is never called directly (such as when used with an `instanceof` operator).
|
|
5
|
+
*/
|
|
6
|
+
export type AbstractConstructor<R = object, A extends any[] = any[]> = abstract new (...args: A) => R;
|
|
1
7
|
/**
|
|
2
8
|
* The async flavor of {@link Factory}.
|
|
3
9
|
*/
|
package/lib/esm/func.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The abstract version of {@link Constructor}.
|
|
3
|
+
*
|
|
4
|
+
* Useful when the constructor is never called directly (such as when used with an `instanceof` operator).
|
|
5
|
+
*/
|
|
6
|
+
export type AbstractConstructor<R = object, A extends any[] = any[]> = abstract new (...args: A) => R;
|
|
1
7
|
/**
|
|
2
8
|
* The async flavor of {@link Factory}.
|
|
3
9
|
*/
|