diff --git a/components/menu/OverrideContext.tsx b/components/menu/OverrideContext.tsx index 900feebca5..ba663f69f5 100644 --- a/components/menu/OverrideContext.tsx +++ b/components/menu/OverrideContext.tsx @@ -11,7 +11,6 @@ export interface OverrideContextProps { onClick?: () => void; } -/** @internal Only used for Dropdown component. Do not use this in your production. */ const OverrideContext = React.createContext(null); /** @internal Only used for Dropdown component. Do not use this in your production. */ @@ -36,4 +35,5 @@ export const OverrideProvider: React.FC{children}; }; +/** @internal Only used for Dropdown component. Do not use this in your production. */ export default OverrideContext; diff --git a/components/message/index.tsx b/components/message/index.tsx index b9a48ffcbd..c005728462 100755 --- a/components/message/index.tsx +++ b/components/message/index.tsx @@ -343,7 +343,7 @@ methods.forEach((type: keyof MessageMethods) => { // ============================================================================== const noop = () => {}; -/** @private Only Work in test env */ +/** @internal Only Work in test env */ // eslint-disable-next-line import/no-mutable-exports export let actWrapper: (wrapper: any) => void = noop; @@ -353,7 +353,7 @@ if (process.env.NODE_ENV === 'test') { }; } -/** @private Only Work in test env */ +/** @internal Only Work in test env */ // eslint-disable-next-line import/no-mutable-exports export let actDestroy = noop; diff --git a/components/notification/PurePanel.tsx b/components/notification/PurePanel.tsx index 79b1fa77c6..56ef07e342 100644 --- a/components/notification/PurePanel.tsx +++ b/components/notification/PurePanel.tsx @@ -84,7 +84,7 @@ export interface PurePanelProps prefixCls?: string; } -/** @private Internal Component. Do not use in your production. */ +/** @internal Internal Component. Do not use in your production. */ export default function PurePanel(props: PurePanelProps) { const { prefixCls: staticPrefixCls, diff --git a/components/notification/index.tsx b/components/notification/index.tsx index af6ffbd36b..00f6985c03 100755 --- a/components/notification/index.tsx +++ b/components/notification/index.tsx @@ -260,7 +260,7 @@ methods.forEach((type: keyof NoticeMethods) => { // ============================================================================== const noop = () => {}; -/** @private Only Work in test env */ +/** @internal Only Work in test env */ // eslint-disable-next-line import/no-mutable-exports export let actWrapper: (wrapper: any) => void = noop; diff --git a/components/theme/util/statistic.ts b/components/theme/util/statistic.ts index e8642e619c..7a9458c5e6 100644 --- a/components/theme/util/statistic.ts +++ b/components/theme/util/statistic.ts @@ -34,13 +34,13 @@ export function merge(...objs: Partial[]): T { return ret; } -/** @private Internal Usage. Not use in your production. */ +/** @internal Internal Usage. Not use in your production. */ export const statistic: Record< string, { global: string[]; component: Record } > = {}; -/** @private Internal Usage. Not use in your production. */ +/** @internal Internal Usage. Not use in your production. */ // eslint-disable-next-line camelcase export const _statistic_build_: typeof statistic = {};