Skip to content

Commit

Permalink
Merge pull request #25485 from storybookjs/yann/remove-deprecated-add…
Browse files Browse the repository at this point in the history
…ons-module-types

TypeScript: Remove deprecated addons module types
  • Loading branch information
yannbf authored Jan 5, 2024
2 parents e8278ce + b8f8745 commit 718f6d4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions code/lib/types/src/modules/addons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,6 @@ export type BaseStory<TArgs, StoryFnReturnType> =

export interface Addon_RenderOptions {
active: boolean;
/**
* @deprecated You should not use key anymore as of Storybook 7.2 this render method is invoked as a React component.
* This property will be removed in 8.0.
* */
key?: unknown;
}

export type Addon_Type =
Expand Down Expand Up @@ -533,9 +528,4 @@ export enum Addon_TypesEnum {
* @unstable This will get replaced with a new API in 8.0, use at your own risk.
*/
experimental_SIDEBAR_TOP = 'sidebar-top',

/**
* @deprecated This property does nothing, and will be removed in Storybook 8.0.
*/
NOTES_ELEMENT = 'notes-element',
}

0 comments on commit 718f6d4

Please sign in to comment.