2018-05-03 23:00:52 +02:00
|
|
|
// @lib: es5
|
2014-07-13 01:04:16 +02:00
|
|
|
class Control {
|
|
|
|
private state: any;
|
|
|
|
}
|
|
|
|
interface SelectableControl extends Control {
|
|
|
|
select(): void;
|
|
|
|
}
|
|
|
|
class Button extends Control {
|
|
|
|
select() { }
|
|
|
|
}
|
|
|
|
class TextBox extends Control {
|
|
|
|
select() { }
|
|
|
|
}
|
|
|
|
class Image extends Control {
|
|
|
|
}
|
|
|
|
class Location {
|
|
|
|
select() { }
|
|
|
|
}
|