Skip to content

Conversation

@dummdidumm
Copy link
Member

Uses the TS type checker to retrieve the slot let: type of the component. Enables completions and hover info for components defined in d.ts files

@jasonlyu123 I reverted the caching as I fear it may lead to memory leaks when old/stale type checkers are cached; also I didn't notice any performance drops. Sorry about the noise in that other PR requesting you to put in the caching logic.

Simon Holthausen added 2 commits June 20, 2021 14:30
Uses the TS type checker to retrieve the slot let: type of the component. Enables completions and hover info for components defined in d.ts files
@dummdidumm dummdidumm merged commit 8c518f2 into sveltejs:master Jun 20, 2021
@dummdidumm dummdidumm deleted the slot-let-completion-dts branch June 20, 2021 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant