Skip to content

Commit

Permalink
fix: implement AbstractConstructable correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
NoNameProvided committed Mar 9, 2021
1 parent 7277385 commit aff2542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/abstract-constructable.type.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Generic type for abstract class definitions.
*
* Explanation: This describes a callable Function with a prototype Which is
* Explanation: This describes a newable Function with a prototype Which is
* what an abstract class is - no constructor, just the prototype.
*/
export type AbstractConstructable<T> = CallableFunction & { prototype: T };
export type AbstractConstructable<T> = NewableFunction & { prototype: T };

0 comments on commit aff2542

Please sign in to comment.