br-dionysus 1.4.0 → 1.4.2

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.
@@ -36,7 +36,7 @@ const extractPropsFromAST = (ast) => {
36
36
  if (ts.isCallExpression(node)) {
37
37
  const callExpression = node.expression
38
38
  // 获取函数的名称
39
- let functionName = callExpression.escapedText || (callExpression.name && callExpression.name.escapedText)
39
+ const functionName = callExpression.escapedText || (callExpression.name && callExpression.name.escapedText)
40
40
 
41
41
  // 是属性
42
42
  const isProps = functionName === 'defineProps' || functionName === 'withDefaults'