@storybook/csf 0.1.9--canary.91.471c890.0 → 0.1.9--canary.91.ad22273.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -251,7 +251,7 @@ type LoaderFunction<TRenderer extends Renderer = Renderer, TArgs = Args> = (cont
|
|
251
251
|
type Awaitable<T> = T | PromiseLike<T>;
|
252
252
|
type CleanupCallback = () => Awaitable<unknown>;
|
253
253
|
type BeforeEach<TRenderer extends Renderer = Renderer, TArgs = Args> = (context: StoryContext<TRenderer, TArgs>) => Awaitable<CleanupCallback | void>;
|
254
|
-
interface
|
254
|
+
interface MountReturnType {
|
255
255
|
}
|
256
256
|
interface StoryContext<TRenderer extends Renderer = Renderer, TArgs = Args> extends StoryContextForEnhancers<TRenderer, TArgs>, Required<StoryContextUpdate<TArgs>> {
|
257
257
|
hooks: unknown;
|
@@ -261,7 +261,7 @@ interface StoryContext<TRenderer extends Renderer = Renderer, TArgs = Args> exte
|
|
261
261
|
abortSignal: AbortSignal;
|
262
262
|
canvasElement: TRenderer['canvasElement'];
|
263
263
|
step: StepFunction<TRenderer, TArgs>;
|
264
|
-
mount(): Promise<
|
264
|
+
mount(): Promise<MountReturnType>;
|
265
265
|
}
|
266
266
|
interface StoryContextForLoaders<TRenderer extends Renderer = Renderer, TArgs = Args> extends StoryContext<TRenderer, TArgs> {
|
267
267
|
}
|
@@ -483,4 +483,4 @@ declare const parseKind: (kind: string, { rootSeparator, groupSeparator }: Separ
|
|
483
483
|
*/
|
484
484
|
declare const combineTags: (...tags: string[]) => string[];
|
485
485
|
|
486
|
-
export { AnnotatedStoryFn, AnyFramework, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, BaseAnnotations, BeforeEach, CleanupCallback, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction,
|
486
|
+
export { AnnotatedStoryFn, AnyFramework, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, BaseAnnotations, BeforeEach, CleanupCallback, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction, MountReturnType, 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, combineTags, includeConditionalArg, isExportStory, parseKind, sanitize, storyNameFromExport, toId };
|