Skip to content

Commit 18d76bb

Browse files
committed
Move some types around
1 parent 6fc8e5a commit 18d76bb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

code/core/src/csf/csf-factories.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import type {
44
Args,
55
ComponentAnnotations,
66
ComposedStoryFn,
7+
EachAnnotationsFunction,
8+
EachTestFunction,
79
NormalizedProjectAnnotations,
810
ProjectAnnotations,
911
Renderer,
@@ -22,7 +24,6 @@ import {
2224
} from '../preview-api/index';
2325
import { mountDestructured } from '../preview-api/modules/preview-web/render/mount-utils';
2426
import { getCoreAnnotations } from './core-annotations';
25-
import type { EachAnnotationsFunction, EachTestFunction } from './story';
2627

2728
export interface Preview<TRenderer extends Renderer = Renderer> {
2829
readonly _tag: 'Preview';

code/core/src/types/modules/csf.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export type {
2222
Conditional,
2323
DecoratorApplicator,
2424
DecoratorFunction,
25+
EachAnnotationsFunction,
26+
EachTestFunction,
2527
Globals,
2628
GlobalTypes,
2729
IncludeExcludeOptions,

0 commit comments

Comments
 (0)