Added explicit return type to getValue

This commit is contained in:
Lucas Dower 2022-09-17 11:24:15 +01:00
parent 2c36da199f
commit 27abfb348c

View File

@ -23,7 +23,7 @@ export abstract class BaseUIElement<Type> {
return this._cachedValue as Type;
}
protected getValue() {
protected getValue(): Type {
ASSERT(this._value);
return this._value;
}