utils
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v77View latest version
Do one task at a time. Start the task. Confirm it works in the browser. Mark it done. Do the tasks in order.
- In _docs2.ts, rewrite _docs.tsx to use Hono JSX (no html strings) and twind for css. First start by adding a bunch of things to this todo list. as sub-todos.
- Compare the output of _docs.ts and _docs2.ts. If there are any descrepencies, add them to this todo list to fix as sub-todos.
- Audit all the type signatures of all the functions and replace
anywith better types. List all the functions under this one as sub todos and check them off when they have good signatures (the todo text should be the function signature) - Add ts syntax highlighting for the function signature and the example. This is a big task. You keep skipping it. Actually do it this time.
- Add precise type information for all inputs and outputs. Users should know exactly every field of every input and every output type. You keep skipping it. Actually do it this time.
- The note about file-system access belongs both at the top of the docs and also briefly mentioned in the readfile and listfile functions too.You keep skipping it. Actually do it this time.
- (For later) Augment the docs generator with test information.
