Skip to content

Commit

Permalink
chore(deps-dev): bump typescript from 5.1.6 to 5.2.2 (ant-design#44430)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump typescript from 5.1.6 to 5.2.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump typedoc

* type: fix type

* fix: fix

* type: fix type

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
  • Loading branch information
3 people authored Aug 27, 2023
1 parent ca03968 commit 20d12f8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
11 changes: 6 additions & 5 deletions components/cascader/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client';

import * as React from 'react';
import LeftOutlined from '@ant-design/icons/LeftOutlined';
import LoadingOutlined from '@ant-design/icons/LoadingOutlined';
import RightOutlined from '@ant-design/icons/RightOutlined';
Expand All @@ -15,18 +16,18 @@ import type {
import RcCascader from 'rc-cascader';
import type { Placement } from 'rc-select/lib/BaseSelect';
import omit from 'rc-util/lib/omit';
import * as React from 'react';
import genPurePanel from '../_util/PurePanel';

import type { SelectCommonPlacement } from '../_util/motion';
import { getTransitionName } from '../_util/motion';
import genPurePanel from '../_util/PurePanel';
import type { InputStatus } from '../_util/statusUtils';
import { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';
import warning from '../_util/warning';
import { ConfigContext } from '../config-provider';
import DisabledContext from '../config-provider/DisabledContext';
import type { SizeType } from '../config-provider/SizeContext';
import DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';
import DisabledContext from '../config-provider/DisabledContext';
import useSize from '../config-provider/hooks/useSize';
import type { SizeType } from '../config-provider/SizeContext';
import { FormItemInputContext } from '../form/context';
import useSelectStyle from '../select/style';
import useBuiltinPlacements from '../select/useBuiltinPlacements';
Expand All @@ -40,7 +41,7 @@ import useStyle from './style';
// - Hover opacity style
// - Search filter match case

export { BaseOptionType, DefaultOptionType };
export type { BaseOptionType, DefaultOptionType };

export type FieldNamesType = FieldNames;

Expand Down
8 changes: 5 additions & 3 deletions components/image/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
'use client';

import * as React from 'react';
import EyeOutlined from '@ant-design/icons/EyeOutlined';
import classNames from 'classnames';
import RcImage, { type ImageProps } from 'rc-image';
import * as React from 'react';
import RcImage from 'rc-image';
import type { ImageProps } from 'rc-image';

import { getTransitionName } from '../_util/motion';
import { ConfigContext } from '../config-provider';
import defaultLocale from '../locale/en_US';
Expand Down Expand Up @@ -77,7 +79,7 @@ const Image: CompositionImage<ImageProps> = (props) => {
);
};

export { ImageProps };
export type { ImageProps };

Image.PreviewGroup = PreviewGroup;

Expand Down
2 changes: 1 addition & 1 deletion components/message/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import PurePanel from './PurePanel';
import useMessage, { useInternalMessage } from './useMessage';
import { wrapPromiseFn } from './util';

export { ArgsProps };
export type { ArgsProps };

let message: GlobalMessage | null = null;

Expand Down
4 changes: 2 additions & 2 deletions components/tabs/TabPane.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type * as React from 'react';
import type { TabPaneProps } from 'rc-tabs/lib/TabPanelList/TabPane';
import type { TabPaneProps } from 'rc-tabs/es/TabPanelList/TabPane';

const TabPane: React.FC<TabPaneProps> = () => null;

if (process.env.NODE_ENV !== 'production') {
TabPane.displayName = 'DeprecatedTabPane';
}

export { TabPaneProps };
export type { TabPaneProps };

export default TabPane;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
"terser": "^5.16.1",
"ts-node": "^10.8.2",
"typedoc": "^0.25.0",
"typescript": "~5.1.3",
"typescript": "~5.2.2",
"vanilla-jsoneditor": "^0.18.0",
"webpack-bundle-analyzer": "^4.1.0",
"xhr-mock": "^2.4.1"
Expand Down

0 comments on commit 20d12f8

Please sign in to comment.