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