TiddlyWiki / TiddlyWiki/MultiWikiServer

serverRequest.index_json returns Promise<any>

Open
#109 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.