Skip to content

Commit

Permalink
Resolve dependencies and fix TS check error
Browse files Browse the repository at this point in the history
  • Loading branch information
MonilBhavsar committed Dec 9, 2024
1 parent 217d670 commit 2eabb62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {StorybookConfig} from '@storybook/types';
import type {StorybookConfig} from 'storybook/internal/types';

const main: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
Expand Down
2 changes: 1 addition & 1 deletion .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {PortalProvider} from '@gorhom/portal';
import type {Parameters} from '@storybook/types';
import type {Parameters} from 'storybook/internal/types';

Check failure on line 2 in .storybook/preview.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Delete `type·{Parameters}·from·'storybook/internal/types';⏎import·`
import React from 'react';
import Onyx from 'react-native-onyx';
import {SafeAreaProvider} from 'react-native-safe-area-context';

Check failure on line 5 in .storybook/preview.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Insert `';⏎import·type·{Parameters}·from·'storybook/internal/types`
Expand Down

0 comments on commit 2eabb62

Please sign in to comment.