TiddlyWiki / TiddlyWiki/MultiWikiServer
serverRequest.index_json returns Promise<any>
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 60
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
For some reason, vscodium is giving an error in helpers/utils.tsx about serverRequest.index_json being a (undefined) => Promise<any> function even though it is defined in the mws package. There is the same problem in Frame.tsx PageRoot. it says "INCORRECT_SERVER_RESPONSE_SENT" doesnt exist. Its like there is some type disconnect between mws and react-admin. But idk if its some problem with my IDE or not. I have done the npm install, init-store, run once, and it runs fine. Is anyone else having the same problem, or is it just my computer?
It also happens on the codespaces.
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 reproducing the TypeScript errors in helpers/utils.tsx and Frame.tsx PageRoot, including in Codespaces, then inspect how serverRequest.index_json and INCORRECT_SERVER_RESPONSE_SENT are defined in the mws package and consumed by react-admin. Done means the reported type errors are resolved without breaking the existing runtime flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100