mapcomplete/UI/Input/InputElement.ts

11 lines
295 B
TypeScript
Raw Normal View History

2020-07-20 15:54:50 +02:00
import {UIElement} from "../UIElement";
import {UIEventSource} from "../UIEventSource";
import {FixedUiElement} from "../Base/FixedUiElement";
export abstract class InputElement<T> extends UIElement{
abstract GetValue() : UIEventSource<T>;
abstract IsValid(t: T) : boolean;
}