wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
13.53k stars 1.18k forks source link

Reinclude lost TypeScript documentation #1920

Closed sodic closed 2 months ago

sodic commented 6 months ago

We used to have TS docs in typescript.md, but the file got removed: https://github.com/wasp-lang/wasp/pull/1633/files#diff-3133a1d4afca962779005e99886a9ee9cc139de5e5e39b19573528098931f7f1.

We lost some of our documentation with the file. For example, the satisfies keyword example. Users often trip on this one:

Another example is the TS LS restart instructions.

Go through the old file and see what we should re-include in our docs.

Most of the problems have to do with inferring payloads and the satisfies keyword.

sodic commented 5 months ago

One more user that hit this: https://discord.com/channels/686873244791210014/1233163179140321362/1233163179140321362

sodic commented 4 months ago

Another one: https://discord.com/channels/686873244791210014/1244445931722768395/1244457100705534012