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