You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the JSDuck documentation, values can be literals of booleans, numbers or strings. However, only the first of these works.
Literals which work
{true}
{false}
{true|false}
Literals which fail
{'foo'}
{"bar"}
{'foo'|"bar"}
{42}
{42|24}
The text was updated successfully, but these errors were encountered:
jdforrester
changed the title
Parameter type validation for JSDuck should allow non-binary literals
Parameter type validation for JSDuck should allow non-boolean literals
Aug 4, 2015
jdforrester
changed the title
Parameter type validation for JSDuck should allow non-boolean literals
Parameter type validation for JSDuck should allow all primitive literals
Aug 4, 2015
Per the JSDuck documentation, values can be literals of booleans, numbers or strings. However, only the first of these works.
Literals which work
{true}
{false}
{true|false}
Literals which fail
{'foo'}
{"bar"}
{'foo'|"bar"}
{42}
{42|24}
The text was updated successfully, but these errors were encountered: