Closed
Description
Is your feature request related to a problem? Please describe.
I want to use DecoratorFunction
type. However, this type is not exported from the library.
Describe the solution you'd like
import { DecoratorFunction } from @storybook/react-native
Describe alternatives you've considered
type Temp = Meta["decorators"];
type ExtractDecoratorFunction<T> = T extends (infer R)[] ? R : never;
type DecoratorFunction = ExtractDecoratorFunction<Temp>;
or
import {DecoratorFunction} from "@storybook/csf/dist/story"
Are you able to assist bring the feature to reality?
maybe?
Additional context
N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels