types for `invoke_task`
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 0
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 3
Description
One of the few rough edges I notice often in Gro these days is the lack of types for invoke_task.
- generate types so task name string+params are checked against the project's tasks and their args (resolve all including gro's builtins)
- maybe import task types using the same strategy as SvelteKit, tsconfig
rootDirswith./$types.js?
- maybe import task types using the same strategy as SvelteKit, tsconfig
- maybe
invoke_taskshould optionally accept a task function reference? the string form allows you to transparently override builtins which I continue to like
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the invoke_task entry point and reviewing the proposed tsconfig rootDirs and ./$types.js strategy. Done means task names and parameters are checked against project tasks and Gro's builtins; the optional task-function reference is an unresolved design question.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100