Skip to content

Commit

Permalink
TypeScript: Remove deprecated addons module types
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Jan 5, 2024
1 parent cc0f31c commit b8f8745
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 b8f8745

Please sign in to comment.