Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Improve react import type #6245

Merged
merged 5 commits into from
Jul 13, 2023
Merged

chore: Improve react import type #6245

merged 5 commits into from
Jul 13, 2023

Conversation

1587315093
Copy link
Contributor

import react 的类型改成 import type 方式

有些地方即用 import 引入了类型,又使用 React.xxxxx 去查询,然后统一了一下

@github-actions
Copy link
Contributor

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6245.surge.sh

@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Patch coverage: 95.86% and no project coverage change.

Comparison is base (ae1f895) 91.03% compared to head (69acc6d) 91.03%.

Additional details and impacted files
@@           Coverage Diff            @@
##           feature    #6245   +/-   ##
========================================
  Coverage    91.03%   91.03%           
========================================
  Files          305      305           
  Lines         6583     6583           
  Branches      1643     1643           
========================================
  Hits          5993     5993           
  Misses         544      544           
  Partials        46       46           
Impacted Files Coverage Δ
src/components/calendar/calendar.tsx 85.41% <ø> (ø)
src/components/checkbox/checkbox.tsx 77.55% <ø> (ø)
...c/components/date-picker/date-picker-week-utils.ts 93.05% <ø> (ø)
src/components/dialog/alert.tsx 100.00% <ø> (ø)
src/components/dialog/confirm.tsx 100.00% <ø> (ø)
src/components/error-block/error-block.tsx 100.00% <ø> (ø)
src/components/error-block/index.ts 100.00% <ø> (ø)
src/components/form/header.tsx 100.00% <ø> (ø)
src/components/image-viewer/image-viewer.tsx 95.34% <ø> (ø)
src/components/index-bar/panel.tsx 100.00% <ø> (ø)
... and 113 more

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zombieJ zombieJ merged commit d1e999d into ant-design:feature Jul 13, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants