-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strict typescript #79
Conversation
also: - save history simultaneously with question data - update squiggle - minor refactorings
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Is this ready to be merged? |
Almost, I wanted to figure out #80 first. |
One more significant change which I implemented as a side effect of smarkets investigation: platform fetchers now can return partial results, while the CLI tool can accept platform-specific arguments. Example: Platforms specify the list of arguments they accept, and there's some checking going on, both in runtime and with typescript (typescript side is a bit messy, but better than nothing). Technical note: I had to expand on |
Rolling back temporarily due to 500 error on frontpage. Investigating. |
It was a dumb circular dependency bug, fixed in master and re-deployed. And then there was also an issue with replaceAll, which was missing in Node 14, and I had to switch Vercel to Node 16; @NunoSempere, please let me know if you think replaceAll polyfill is still necessary (I removed it), I think it's supported well enough by all modern browsers (maybe we should still support IE 11 or Edge <85 for some reason?..) |
Doesn't seem necessary; legacy from the netlify days. |
Finally :) 500+ errors cleaned up,
"strict": true
is now enabled in tsconfig.json.Also:
npm run cli PLATFORM
, then it should also be easy to clean up manually withDELETE FROM history WHERE ...
)