Skip to content

Commit 40a5c7a

Browse files
committed
Add project initialGlobals and deprecate globals
1 parent 81a58c9 commit 40a5c7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/story.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,11 @@ export type ProjectAnnotations<
390390
> = BaseAnnotations<TRenderer, TArgs> & {
391391
argsEnhancers?: ArgsEnhancer<TRenderer, Args>[];
392392
argTypesEnhancers?: ArgTypesEnhancer<TRenderer, Args>[];
393+
/**
394+
* @deprecated Project `globals` renamed to `initiaGlobals`
395+
*/
393396
globals?: Globals;
397+
initialGlobals?: Globals;
394398
globalTypes?: GlobalTypes;
395399
applyDecorators?: DecoratorApplicator<TRenderer, Args>;
396400
runStep?: StepRunner<TRenderer, TArgs>;

0 commit comments

Comments
 (0)