Skip to content

Commit d03e17e

Browse files
authored
Fixed a typo in documentation (#286)
chore: Added changeset
1 parent f49882a commit d03e17e

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.changeset/orange-seas-clap.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@codemod-utils/threads": patch
3+
"docs-app-for-codemod-utils": patch
4+
---
5+
6+
Fixed a typo in documentation

docs/src/docs/packages/codemod-utils-threads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import { task } from './analyze-files/task.js';
6262
export async function analyzeFiles(options: Options): Promise<void> {
6363
const { projectRoot } = options;
6464

65-
const datasets: Parameters<typeof task> = [
65+
const datasets: Parameters<typeof task>[] = [
6666
['LICENSE.md', projectRoot],
6767
['README.md', projectRoot],
6868
];

packages/threads/src/parallelize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const MIN_NUM_TASKS_PER_WORKER = 100;
4646
* export async function analyzeFiles(options: Options): Promise<void> {
4747
* const { projectRoot } = options;
4848
*
49-
* const datasets: Parameters<typeof task> = [
49+
* const datasets: Parameters<typeof task>[] = [
5050
* ['LICENSE.md', projectRoot],
5151
* ['README.md', projectRoot],
5252
* ];

0 commit comments

Comments
 (0)