mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-07 21:32:38 +02:00
refactor: new @docusaurus/plugin-content-docs/client interface (#6287)
This commit is contained in:
parent
3bc63b2b09
commit
024f2bf49b
20 changed files with 48 additions and 39 deletions
|
@ -241,7 +241,8 @@ declare module '@theme/Seo' {
|
|||
export default Seo;
|
||||
}
|
||||
|
||||
declare module '@theme/hooks/useDocs' {
|
||||
// TODO can't we infer types directly from code?
|
||||
declare module '@docusaurus/plugin-content-docs/client' {
|
||||
type GlobalPluginData = import('./types').GlobalPluginData;
|
||||
type GlobalVersion = import('./types').GlobalVersion;
|
||||
type ActivePlugin = import('./client/docsClientUtils').ActivePlugin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue