@xstd/constructor-types 1.0.1 → 1.0.2

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/README.md CHANGED
@@ -25,7 +25,7 @@ npm install @xstd/constructor-types --save
25
25
  ## 📜 Documentation
26
26
 
27
27
  ```ts
28
- type Constructor<GArguments extends readonly any[], GInstance> = abstract new (
28
+ type Constructor<GArguments extends readonly any[], GInstance> = new (
29
29
  ...args: GArguments
30
30
  ) => GInstance;
31
31
  ```
package/constructor.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export type Constructor<GArguments extends readonly any[], GInstance> = abstract new (...args: GArguments) => GInstance;
1
+ export type Constructor<GArguments extends readonly any[], GInstance> = new (...args: GArguments) => GInstance;
2
2
  export type GenericConstructor = Constructor<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xstd/constructor-types",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "scripts": {