-
Notifications
You must be signed in to change notification settings - Fork 149
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
refactor: convert website to TypeScript #330
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. TIL about the TS satisfies
keyword. A couple of nit inline comments.
gonna need to set up linting for typescript lol cuz we don't have js files in |
from there, looks like the tests need updating as well. |
If this is still in-progress, can you make it a draft until it's ready for final review? That way it's more clear when that point is reached. |
This pull request rewrites our website in TypeScript, which added first-class support in Docusaurus 2 sometime after we first bootstrapped this project.
The biggest change is that
docusaurus.config.js
becomes a thin shell fordocusaurusConfig.ts
, since Docusaurus doesn't support first-class TypeScript configuration yet (facebook/docusaurus#7911 (comment)).