From 2eabb62d8a11ea0a4b0977b8265f647f5b665083 Mon Sep 17 00:00:00 2001 From: Monil Bhavsar Date: Mon, 9 Dec 2024 16:57:23 +0530 Subject: [PATCH] Resolve dependencies and fix TS check error --- .storybook/main.ts | 2 +- .storybook/preview.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.storybook/main.ts b/.storybook/main.ts index 37f443219f4d..26fd25df58e2 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -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)'], diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index d3829fe01779..73331686468d 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -1,5 +1,5 @@ import {PortalProvider} from '@gorhom/portal'; -import type {Parameters} from '@storybook/types'; +import type {Parameters} from 'storybook/internal/types'; import React from 'react'; import Onyx from 'react-native-onyx'; import {SafeAreaProvider} from 'react-native-safe-area-context';