From 7037d8e561bbfc39f6a45a19c8adb0e8c43dbd0c Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Thu, 11 Jan 2024 10:57:43 +0100 Subject: [PATCH] Remove deprecated Story type in @storybook/angular --- code/frameworks/angular/src/client/public-types.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/code/frameworks/angular/src/client/public-types.ts b/code/frameworks/angular/src/client/public-types.ts index ae7c6773de12..02571ddf1411 100644 --- a/code/frameworks/angular/src/client/public-types.ts +++ b/code/frameworks/angular/src/client/public-types.ts @@ -37,17 +37,6 @@ export type StoryFn = AnnotatedStoryFn = StoryAnnotations>; -/** - * @deprecated Use `StoryFn` instead. - * Use `StoryObj` if you want to migrate to CSF3, which uses objects instead of functions to represent stories. - * You can read more about the CSF3 format here: https://storybook.js.org/blog/component-story-format-3-0/ - * - * Story function that represents a CSFv2 component example. - * - * @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports) - */ -export type Story = StoryFn; - export type Decorator = DecoratorFunction; export type Loader = LoaderFunction; export type StoryContext = GenericStoryContext;