@armscye/core 0.1.0 → 0.2.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.
@@ -2,6 +2,6 @@
2
2
  * Represents an abstract class `T`, if applied to a concrete class it would stop being
3
3
  * instantiable.
4
4
  */
5
- export interface Abstract<T> extends Function {
5
+ export interface Abstract<T = any> extends Function {
6
6
  prototype: T;
7
7
  }
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './abstract.interface';
2
- export * from './no-argument.interface';
3
- export * from './type.interface';
1
+ export * from './abstract';
2
+ export * from './no-argumen';
3
+ export * from './type';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Represents an instantiable class `T` with a default (no-argument) constructor.
3
+ */
4
+ export interface NoArgument<T = any> extends Function {
5
+ new (): T;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@armscye/core",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "A collection of shared standard TypeScript definitions",
5
5
  "author": "Augustus Kamau",
6
6
  "license": "MIT",
@@ -24,5 +24,5 @@
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "gitHead": "052fa1099c964068feda456b787214c025533e6c"
27
+ "gitHead": "f2c94ab8ecb4161f6f8c82820a8bbad758d83209"
28
28
  }
@@ -1,6 +0,0 @@
1
- /**
2
- * Represents an instantiable class `T` that doesn't require arguments to the constructor.
3
- */
4
- export interface NoArgument<T = any> extends Function {
5
- new (): T;
6
- }
File without changes