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
This is due to the parsing in parser.ts#getLiteralValueFromPropertyAssignment - the switch-case-block handles SyntaxKind.NumericLiteral, but the - from -1 is passed as SyntaxKind.PrefixUnaryExpression
The text was updated successfully, but these errors were encountered:
If a negative number is defined as the default prop value, it is ignored in the styleguidist output, e.g.
This is due to the parsing in
parser.ts#getLiteralValueFromPropertyAssignment
- the switch-case-block handlesSyntaxKind.NumericLiteral
, but the-
from-1
is passed asSyntaxKind.PrefixUnaryExpression
The text was updated successfully, but these errors were encountered: