import {Store, UIEventSource} from "../../Logic/UIEventSource"; import BaseUIElement from "../BaseUIElement"; export interface ReadonlyInputElement extends BaseUIElement{ GetValue(): Store; IsValid(t: T): boolean; } export abstract class InputElement extends BaseUIElement implements ReadonlyInputElement{ abstract GetValue(): UIEventSource; abstract IsValid(t: T): boolean; }