@drskillissue/ganko 0.2.7 → 0.2.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3530,6 +3530,7 @@ function getStaticStringFromJSXValue(node) {
3530
3530
  const expression = node.expression;
3531
3531
  if (!expression) return null;
3532
3532
  if (import_typescript4.default.isStringLiteral(expression)) return expression.text;
3533
+ if (import_typescript4.default.isNumericLiteral(expression)) return expression.text;
3533
3534
  if (import_typescript4.default.isNoSubstitutionTemplateLiteral(expression)) return expression.text;
3534
3535
  if (import_typescript4.default.isTemplateExpression(expression) && expression.templateSpans.length === 0) {
3535
3536
  return expression.head.text;