From b8f8745c73cd614a4e436a96035a09efaa880eb0 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Fri, 5 Jan 2024 17:57:38 -0300 Subject: [PATCH] TypeScript: Remove deprecated addons module types --- code/lib/types/src/modules/addons.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/code/lib/types/src/modules/addons.ts b/code/lib/types/src/modules/addons.ts index 6002d713e52c..49d97e4c3a11 100644 --- a/code/lib/types/src/modules/addons.ts +++ b/code/lib/types/src/modules/addons.ts @@ -305,11 +305,6 @@ export type BaseStory = 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 = @@ -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', }