Skip to content

Commit e743eca

Browse files
committed
fix(utils): also recognize .tsx files as Vue files
1 parent 2dc606c commit e743eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2681,7 +2681,7 @@ function markVariableAsUsed(context, name, node) {
26812681
* @param {string} path
26822682
*/
26832683
function isVueFile(path) {
2684-
return path.endsWith('.vue') || path.endsWith('.jsx')
2684+
return path.endsWith('.vue') || path.endsWith('.jsx') || path.endsWith('.tsx')
26852685
}
26862686

26872687
/**

0 commit comments

Comments
 (0)