mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
More refactoring + reusing the server's store on the client
This commit is contained in:
7
src/app/core/shared/generic-constructor.ts
Normal file
7
src/app/core/shared/generic-constructor.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* ensures we can use 'typeof T' as a type
|
||||
* more details:
|
||||
* https://github.com/Microsoft/TypeScript/issues/204#issuecomment-257722306
|
||||
*/
|
||||
export type GenericConstructor<T> = { new (...args: any[]): T };
|
||||
|
Reference in New Issue
Block a user