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

fix(layout): pro layout types declare #9753

Merged
merged 1 commit into from
Nov 17, 2022
Merged

Conversation

fz6m
Copy link
Member

@fz6m fz6m commented Nov 12, 2022

解决 pro layout 引用没有类型提示的问题。

fix #9374

fix #9721

fix #9733

@vercel
Copy link

vercel bot commented Nov 12, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
umi ⬜️ Ignored (Inspect) Nov 12, 2022 at 2:16AM (UTC)

@codecov
Copy link

codecov bot commented Nov 12, 2022

Codecov Report

Base: 28.49% // Head: 28.47% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (54bf2af) compared to base (0dd9132).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9753      +/-   ##
==========================================
- Coverage   28.49%   28.47%   -0.03%     
==========================================
  Files         427      427              
  Lines       12065    12074       +9     
  Branches     2882     2882              
==========================================
  Hits         3438     3438              
- Misses       8074     8080       +6     
- Partials      553      556       +3     
Impacted Files Coverage Δ
packages/plugins/src/layout.ts 0.00% <0.00%> (ø)
packages/renderer-react/src/browser.tsx 0.00% <0.00%> (ø)
...ackages/preset-umi/src/features/tmpFiles/routes.ts 52.63% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@sorrycc sorrycc merged commit 1ef8cc3 into umijs:master Nov 17, 2022
@lovelope
Copy link

lovelope commented Dec 13, 2022

@fz6m reference 导致 tsconfig.json 的exclude 无效,@ant-design/pro-components 类型冲突

https://github.com/Microsoft/TypeScript/wiki/FAQ#why-is-a-file-in-the-exclude-list-still-picked-up-by-the-compiler

@fz6m
Copy link
Member Author

fz6m commented Dec 13, 2022

给一个有问题的复现看看,项目并不需要 exclude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants