Skip to content

Commit

Permalink
Add project initialGlobals and deprecate globals
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Jun 3, 2024
1 parent 81a58c9 commit 40a5c7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,11 @@ export type ProjectAnnotations<
> = BaseAnnotations<TRenderer, TArgs> & {
argsEnhancers?: ArgsEnhancer<TRenderer, Args>[];
argTypesEnhancers?: ArgTypesEnhancer<TRenderer, Args>[];
/**
* @deprecated Project `globals` renamed to `initiaGlobals`
*/
globals?: Globals;
initialGlobals?: Globals;
globalTypes?: GlobalTypes;
applyDecorators?: DecoratorApplicator<TRenderer, Args>;
runStep?: StepRunner<TRenderer, TArgs>;
Expand Down

0 comments on commit 40a5c7a

Please sign in to comment.