Skip to content

Commit

Permalink
apply changes to rest files
Browse files Browse the repository at this point in the history
  • Loading branch information
xeho91 committed Aug 27, 2024
1 parent fe57790 commit f0ef597
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PlayFunctionContext } from '@storybook/types';
import type { PlayFunctionContext } from 'storybook/internal/types';
import type { Component, ComponentProps, Snippet } from 'svelte';
import type { EmptyObject, Primitive } from 'type-fest';
import { describe, expectTypeOf, it } from 'vitest';
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/Story.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
lang="ts"
generics="const TOverrideArgs extends Args, const TCmp extends Cmp, TMeta extends Meta<TCmp>"
>
import type { Args } from '@storybook/types';
import type { Args } from 'storybook/internal/types';
import type { Snippet } from 'svelte';
import { useStoriesExtractor } from '#runtime/contexts/extractor.svelte';
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/contexts/extractor.svelte.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Args } from '@storybook/types';
import type { Args } from 'storybook/internal/types';
import { getContext, hasContext, setContext, type ComponentProps } from 'svelte';

import { storyNameToExportName } from '#utils/identifier-utils';
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/contexts/renderer.svelte.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getContext, hasContext, setContext } from 'svelte';

import type { Cmp, Meta, StoryAnnotations, StoryContext } from '#types';
import type { Args } from '@storybook/types';
import type { Args } from 'storybook/internal/types';

const CONTEXT_KEY = 'storybook-story-renderer-context';

Expand Down
2 changes: 1 addition & 1 deletion src/runtime/contexts/template.svelte.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Args } from '@storybook/types';
import type { Args } from 'storybook/internal/types';
import { getContext, hasContext, setContext, type ComponentProps } from 'svelte';

import type { Cmp, Meta, StoryCmp } from '#types';
Expand Down
2 changes: 1 addition & 1 deletion src/types.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PlayFunctionContext } from '@storybook/types';
import type { PlayFunctionContext } from 'storybook/internal/types';
import type { Component, ComponentProps } from 'svelte';
import { describe, expectTypeOf, it } from 'vitest';

Expand Down

0 comments on commit f0ef597

Please sign in to comment.