-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Open
Labels
Description
Describe the bug
I'm experimenting with the new typesafe csf-factories, and noticed that the parameters of custom decorators specified in preview.ts are not inferred. I can still use module augmentation to add them, as before, but I believe one of the goals of the RFC is to avoid the need for that.
Reproduction link
https://stackblitz.com/edit/github-bkfc7ul3?file=src%2Fstories%2FPage.stories.ts&view=editor
Reproduction steps
In the reproduction, I've created a custom decorator (a common one, for react-router), but the types for parameters.routing
are not known by preview.meta
.
System
N/A
Additional context
No response
dosubot