From 92d98b789654b1d05bf43e437f9f803f64427418 Mon Sep 17 00:00:00 2001 From: andrescera Date: Tue, 11 Apr 2023 03:51:01 -0500 Subject: [PATCH] fix: imports on index.d.ts file This should fix https://github.com/storybookjs/addon-svelte-csf/issues/96 as the types don't exist anymore in '@storybook/addons' --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 0911279..fbecf45 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,5 +1,5 @@ import type { SvelteComponentTyped, SvelteComponent } from 'svelte'; -import type { BaseMeta, BaseAnnotations, StoryContext } from '@storybook/addons'; +import type { Addon_BaseMeta as BaseMeta, Addon_BaseAnnotations as BaseAnnotations, StoryContext } from '@storybook/types'; type DecoratorReturnType = void|SvelteComponent|{ @@ -64,4 +64,4 @@ export class Story extends SvelteComponentTyped { } * * Allow to reuse definition between stories. */ -export class Template extends SvelteComponentTyped { } \ No newline at end of file +export class Template extends SvelteComponentTyped { }