Skip to content

Commit

Permalink
fix: added pattern matching for .ts & .tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
2nikhiltom committed Sep 5, 2024
1 parent 6467dea commit 591d8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/upgrade/src/upgrades.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const upgrades = [
const paths =
Array.isArray(options.paths) && options.paths.length > 0
? options.paths
: await glob(['**/*.js', '**/*.jsx'], {
: await glob(['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'], {
cwd: options.workspaceDir,
ignore: [
'**/es/**',
Expand Down

0 comments on commit 591d8af

Please sign in to comment.