baseballyama / svelte-preprocess-delegate-events

You can delegate events by on:* 🎉
MIT License
52 stars 0 forks source link

How can I exclude certain events #35

Closed akashlama1998-icloud closed 6 months ago

akashlama1998-icloud commented 1 year ago

Let's say I don't want x event to be passed so while typing the props I can do that but still the events will be passed anyways.. so is there anyway I can exclude events.. maybe an array. Also how's the typescript support on this? Is the typescript support good?

baseballyama commented 1 year ago

Now we can not exclude events.

Is the typescript support good?

Yes. TypeScript is supported. But not perfect. For getting full typing support, we need to work closely together with language tools. It means we need to implement this feature into Svelte core.