shoelace-style/webawesome

Broken links in the custom-elements-jsx type definition

Open

#2,557 建立於 2026年6月26日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)TypeScript (157 fork)github user discovery
bughelp wanted

倉庫指標

Star
 (1,104 star)
PR 合併指標
 (PR 指標待抓取)

描述

Describe the bug

In the Pro version of Web Awesome I don't get autocomplete for the values of prop in components. So fir example if I use and want to modify the appearance prop, I don't get 'filled' | 'outlined' | 'filled-outlined' as suggestions which I would expect. This happens to any typed prop of all components.

To Reproduce

Install the pro version of Web Awesome and have a look into node_modules/@awesome.me/webawesome/dist/custom-elements-jsx.d.ts to see the links. They all look like this: import type { default as WaInput } from "./_bundle_/src/components/input/input.js";

Meanwhile if I install the normal version of WebAwesome, they look like this: import type { default as WaInput } from "./components/input/input.js";

This seems to break the above-mentioned autocomplete because the link doesn't exist and the types can not be found.

Demo

Screenshots

Browser / OS

Additional information

貢獻者指南