docs: mention that all official themes are TypeScript-covered (#6675)

* docs: mention that all official themes are TypeScript-covered

* revert...

* kick
This commit is contained in:
Joshua Chen 2022-02-14 23:33:37 +08:00 committed by GitHub
parent c27695ab5c
commit d460d48dfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,4 +128,4 @@ For themes that support TypeScript theme components, you can add the `--typescri
npm run swizzle @docusaurus/theme-classic Footer -- --typescript
```
At this moment, the only official Docusaurus theme that supports TypeScript theme components is `@docusaurus/theme-classic`. If you are a Docusaurus theme package author who wants to add TypeScript support, see the [Lifecycle APIs docs](./api/plugin-methods/extend-infrastructure.md#getTypeScriptThemePath).
All official Docusaurus themes support TypeScript theme components, including [`theme-classic`](./api/themes/theme-classic.md), [`theme-live-codeblock`](./api/themes/theme-live-codeblock.md), and [`theme-search-algolia`](./api/themes/theme-search-algolia.md). If you are a Docusaurus theme package author who wants to add TypeScript support, see the [Lifecycle APIs docs](./api/plugin-methods/extend-infrastructure.md#getTypeScriptThemePath).