#17220·svelte

在模块传播为属性时出现"无法重新定义属性"错误

作者: x0k创建于 2025年11月22日更新于 2026年9月13日

The following code `<Component {...someModule} {foo} />` results in a `Cannot redefine property: foo` error if the module exports a variable named `foo`.

内容来源: sveltejs/svelte