@storybook/csf 0.0.2-next.4 → 0.0.2-next.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +9 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -52,6 +52,9 @@ interface StoryIdentifier {
|
|
52
52
|
tags: Tag[];
|
53
53
|
}
|
54
54
|
interface Parameters {
|
55
|
+
[name: string]: any;
|
56
|
+
}
|
57
|
+
interface StrictParameters {
|
55
58
|
[name: string]: unknown;
|
56
59
|
}
|
57
60
|
declare type ConditionalTest = {
|
@@ -81,9 +84,12 @@ interface StrictInputType extends InputType {
|
|
81
84
|
name: string;
|
82
85
|
type?: SBType;
|
83
86
|
}
|
84
|
-
|
87
|
+
interface Args {
|
85
88
|
[name: string]: any;
|
86
|
-
}
|
89
|
+
}
|
90
|
+
interface StrictArgs {
|
91
|
+
[name: string]: unknown;
|
92
|
+
}
|
87
93
|
declare type ArgTypes<TArgs = Args> = {
|
88
94
|
[name in keyof TArgs]: InputType;
|
89
95
|
};
|
@@ -352,4 +358,4 @@ declare const parseKind: (kind: string, { rootSeparator, groupSeparator }: Separ
|
|
352
358
|
groups: string[];
|
353
359
|
};
|
354
360
|
|
355
|
-
export { AnnotatedStoryFn, AnyFramework, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, BaseAnnotations, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction, Parameters, PartialStoryFn, PlayFunction, PlayFunctionContext, ProjectAnnotations, Renderer, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner, StoryAnnotations, StoryAnnotationsOrFn, StoryContext, StoryContextForEnhancers, StoryContextForLoaders, StoryContextUpdate, StoryFn, StoryId, StoryIdentifier, StoryKind, StoryName, StrictArgTypes, StrictGlobalTypes, StrictInputType, Tag, ViewMode, includeConditionalArg, isExportStory, parseKind, sanitize, storyNameFromExport, toId };
|
361
|
+
export { AnnotatedStoryFn, AnyFramework, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, BaseAnnotations, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction, Parameters, PartialStoryFn, PlayFunction, PlayFunctionContext, ProjectAnnotations, Renderer, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner, StoryAnnotations, StoryAnnotationsOrFn, StoryContext, StoryContextForEnhancers, StoryContextForLoaders, StoryContextUpdate, StoryFn, StoryId, StoryIdentifier, StoryKind, StoryName, StrictArgTypes, StrictArgs, StrictGlobalTypes, StrictInputType, StrictParameters, Tag, ViewMode, includeConditionalArg, isExportStory, parseKind, sanitize, storyNameFromExport, toId };
|