Skip to content

Commit 5970045

Browse files
committed
docs: use actual exported type names for tasks
`TaskConfig` is not exported anywhere; the generated TS type is `TaskDefinition = Task | Command` with `Command = string | string[]`. https://claude.ai/code/session_01N7sZTbj8K2QYvMAWUB1Nmz
1 parent 3c1ae7e commit 5970045

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/config/run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default defineConfig({
6161

6262
## `run.tasks`
6363

64-
- **Type:** `Record<string, TaskConfig | string | string[]>`
64+
- **Type:** `Record<string, TaskDefinition>` where `TaskDefinition = Task | string | string[]`
6565

6666
Defines tasks that can be run with `vp run <task>`.
6767

0 commit comments

Comments
 (0)