Closed KeJunMao closed 6 months ago
The recent update involves adjustments to the TypeScript declarations related to navigation options within a specific project. Specifically, the export
keyword has been removed from the NavigateToOptions
and SwitchTabOptions
interfaces, which means these interfaces are no longer directly accessible for import by other modules. This change aims to address issues related to type hinting and the effectiveness of .d.ts
files in the development environment.
File Path | Change Summary |
---|---|
packages/core/src/declaration.ts |
Removed export from NavigateToOptions and SwitchTabOptions interfaces |
Objective | Addressed | Explanation |
---|---|---|
Bug Description: uni-page.d.ts not effective (#140) |
✅ | |
Reproduction steps: Issue with type hinting during Uni routing (#140) | ✅ | |
Context: Development environment issue with .d.ts file (#140) |
✅ |
🐇✨ In the realm of code, where types do roam, A rabbit hopped, making
.d.ts
its home. No longer exported, yet clearer the path, For IntelliSense to guide, and lessen the wrath.🌟📚 Through files and types, it danced with glee, A tiny change, a leap for a better spree. "Hooray!" it cheered, in the moonlight's embrace, A hop, a skip, in the vast codebase.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Fixes #140
Description 描述
Linked Issues 关联的 Issues
Additional context 额外上下文
Summary by CodeRabbit