TS types missing for some code examples
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 9
- Avg merge
- 1h 45m
- Merged PRs (30d)
- 11
Description
https://markojs.com/docs/marko-run/file-based-routing#handler
Does these code examples don't need TS types? I tried them out and they are not type safe. no auto compilation, no nothing.
for example the above can, based on the docs, gives you context, next but it's not type safe.
Contributor guide
No contributing guide indexed for this repository
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 with the Marko Run file-based routing handler section at the linked documentation URL and reproduce the example in a TypeScript project. Check whether the documented context and next values receive types, then update the examples or their guidance so the documented code is type-safe and verify the examples compile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100