svelteuidev / svelteui

SvelteUI Monorepo
https://svelteui.dev
MIT License
1.31k stars 62 forks source link

Missing Intellisense when using SvelteUI >= 0.15.0 #470

Closed BeeMargarida closed 11 months ago

BeeMargarida commented 1 year ago

What package has an issue

@svelteuidev/core

A clear and concise description of what the bug is

Intellisense does not work when using svelteui after 0.15.0.

In which browser(s) did the problem occur?

No response

Steps To Reproduce

  1. Using VSCode or other editor with a LSP, start a svelte-kit project
  2. Install @svelteuidev/core and @svelteuidev/composables with version 0.15.0
  3. Use the code <Button>Click</Button>
  4. Try to set a prop in button, and notice that the autocomplete does not include any button prop

Do you know how to fix the issue

Yes

Are you willing to participate in fixing this issue and create a pull request with the fix

Yes

Relevant Assets

No response

Brisklemonade commented 1 year ago

Why is the intellisense not working?

BeeMargarida commented 1 year ago

Oh, forgot to submit the comment explaining, but the .svelte.d.ts files are not being generated for some components. A commit that changed the yarn.lock was the one that caused this.

This commit works. The next one doesn't.

EDIT: sorry, I was writing on the phone and the autocomplete introduced typos.

BeeMargarida commented 11 months ago

Fixed in patch 0.15.4