Open jdforrester opened 9 years ago
Per the JSDuck documentation, values can be literals of booleans, numbers or strings. However, only the first of these works.
{true}
{false}
{true|false}
{'foo'}
{"bar"}
{'foo'|"bar"}
{42}
{42|24}
:+1:
Filed an issue at jsdoctypeparser Kuniwak/jsdoctypeparser#16
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}