vuepress / core

Vue-Powered Static Site Generator
https://vuepress.vuejs.org
MIT License
2.17k stars 922 forks source link

[Bug report] defineClientConfig is still broken under pnpm #1495

Closed Mister-Hope closed 1 week ago

Mister-Hope commented 4 months ago

Description

See ecosystem, when removing the as ClientConfig and type import, type errors are still seen

image

Reproduction

https://github.com/vuepress/ecosystem

Used Package Manager

pnpm

System Info

.
github-actions[bot] commented 3 months ago

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 7 days.

github-actions[bot] commented 3 months ago

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 7 days.

meteorlxy commented 2 months ago

Per https://github.com/microsoft/TypeScript/issues/42873#issuecomment-2065572017, it would be fixed in TS 5.5. Let's wait for the new release then.

github-actions[bot] commented 1 month ago

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 7 days.

github-actions[bot] commented 1 month ago

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 7 days.

github-actions[bot] commented 2 weeks ago

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 7 days.

meteorlxy commented 1 week ago

Should have been solved since TS 5.5