mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-17 03:19:23 +01:00
Fix IDE errors without changing internal data type
This commit is contained in:
parent
de0c9aa3f4
commit
b69c5e7cbf
@ -52,7 +52,7 @@ li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private __select_options : SelectOption[];
|
private __select_options : SelectOption[];
|
||||||
private __value : string|string[];
|
private __value : string[];
|
||||||
|
|
||||||
constructor()
|
constructor()
|
||||||
{
|
{
|
||||||
@ -99,7 +99,7 @@ li {
|
|||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
set value(new_value)
|
set value(new_value : string | string[])
|
||||||
{
|
{
|
||||||
// Split anything that is still a CSV
|
// Split anything that is still a CSV
|
||||||
if(typeof new_value == "string" && new_value.indexOf(",") > 0)
|
if(typeof new_value == "string" && new_value.indexOf(",") > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user