refactor(types): move non-core, non-public types out of the types package (#7293)

This commit is contained in:
Joshua Chen 2022-05-03 17:15:48 +08:00 committed by GitHub
parent c7a5af7c4d
commit b49ae67521
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 397 additions and 404 deletions

View file

@ -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({

View file

@ -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;