9 lines
285 B
TypeScript
9 lines
285 B
TypeScript
// @noUnusedLocals: true
|
|
// @noUnusedParameters:true
|
|
|
|
//@filename: bar.ts
|
|
export interface IEventSourcedEntity { }
|
|
|
|
//@filename: test.ts
|
|
import { IEventSourcedEntity } from "./bar";
|
|
export type DomainEntityConstructor<TEntity extends IEventSourcedEntity> = { new(): TEntity; }; |