diff --git a/lib/rules/define-props-declaration.js b/lib/rules/define-props-declaration.js index 17dfb8830..39494bd94 100644 --- a/lib/rules/define-props-declaration.js +++ b/lib/rules/define-props-declaration.js @@ -231,7 +231,7 @@ module.exports = { yield fixer.insertTextBefore( variableDeclarationNode, - `interface Props ${definePropsType.replaceAll(';', ',')}; ` + `interface Props ${definePropsType.replace(/;/g, ',')}; ` ) yield fixer.insertTextAfter(node.callee, ``) } else {