mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-10 23:02:56 +02:00
refactor(types): move non-core, non-public types out of the types package (#7293)
This commit is contained in:
parent
c7a5af7c4d
commit
b49ae67521
25 changed files with 397 additions and 404 deletions
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import {translate} from '@docusaurus/Translate';
|
||||
import type {TagsListItem} from '@docusaurus/types';
|
||||
import type {TagsListItem} from '@docusaurus/utils';
|
||||
|
||||
export const translateTagsPageTitle = (): string =>
|
||||
translate({
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
import {useMemo} from 'react';
|
||||
import type {TOCItem} from '@docusaurus/types';
|
||||
import type {TOCItem} from '@docusaurus/mdx-loader';
|
||||
|
||||
export type TOCTreeNode = {
|
||||
readonly value: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue