Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/orange-seas-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@codemod-utils/threads": patch
"docs-app-for-codemod-utils": patch
---

Fixed a typo in documentation
2 changes: 1 addition & 1 deletion docs/src/docs/packages/codemod-utils-threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import { task } from './analyze-files/task.js';
export async function analyzeFiles(options: Options): Promise<void> {
const { projectRoot } = options;

const datasets: Parameters<typeof task> = [
const datasets: Parameters<typeof task>[] = [
['LICENSE.md', projectRoot],
['README.md', projectRoot],
];
Expand Down
2 changes: 1 addition & 1 deletion packages/threads/src/parallelize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const MIN_NUM_TASKS_PER_WORKER = 100;
* export async function analyzeFiles(options: Options): Promise<void> {
* const { projectRoot } = options;
*
* const datasets: Parameters<typeof task> = [
* const datasets: Parameters<typeof task>[] = [
* ['LICENSE.md', projectRoot],
* ['README.md', projectRoot],
* ];
Expand Down
Loading