8 lines
121 B
TypeScript
8 lines
121 B
TypeScript
|
|
export interface Pass<In, Out> {
|
|
apply(input: In): Out;
|
|
}
|
|
|
|
export interface Newable<T> {
|
|
new (...args: any[]): T;
|
|
}
|