Skip to content
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

Add @docusaurus/theme-classic to compilerOptions.types #70

Merged
merged 1 commit into from
Aug 5, 2021

Conversation

slorber
Copy link
Contributor

@slorber slorber commented Aug 4, 2021

By default, 99,9% of users are going to use the Docusaurus classic theme anyway so it does not make sense to not include the classic theme types by default in the TS config, even if it creates some additional coupling, + it's possible to override it anyway.

When we'll have multiple themes in the future we'll create a shared package for common theme types (the Tailwind theme would have the same types as the classic theme). Still, we'll keep this coupling and bias toward the "official themes" by default for simplicity.

Related to facebook/docusaurus#5282

@orta
Copy link
Member

orta commented Aug 5, 2021

Yeah, I agree - this makes sense

@orta orta merged commit 9391a13 into tsconfig:main Aug 5, 2021
@orta
Copy link
Member

orta commented Aug 5, 2021

Should deploy voernight

@slorber
Copy link
Contributor Author

slorber commented Aug 5, 2021

thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants