-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
Describe the problem
As per thread on Discord.
I was working on addon for Storybook - @storybook/addon-svelte-csf
. It uses svelte/compiler
to extract Svelte AST nodes and analyss them for further code transformation.
Then I upgraded Svelte version. And I have noticed that since this release [email protected]
AST nodes from svelte/compiler
are no longer exposed to public.
Such as:
Component
(AST version)Root
SnippetBlock
SvelteNode
- ... etc.
Possibly related PR: Rich-Harris/dts-buddy#82
Describe the proposed solution
I would like to be able to access those Svelte AST nodes, so I can have a better typings experience on those AST data structures.
Importance
would make my life easier
vnphanquang, vini-brito, benmccann, timothycohen, huntabyte and 2 more