From 22f73e22300f70e9fbe2fbb67bd0d3d59898a4ee Mon Sep 17 00:00:00 2001 From: tienifr Date: Thu, 25 Jan 2024 15:43:44 +0700 Subject: [PATCH] change to default export --- src/components/ImageView/types.ts | 2 +- src/components/MultiGestureCanvas/types.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/ImageView/types.ts b/src/components/ImageView/types.ts index 9ea51fd3c82c..bf83bc44d47b 100644 --- a/src/components/ImageView/types.ts +++ b/src/components/ImageView/types.ts @@ -1,5 +1,5 @@ import type {StyleProp, ViewStyle} from 'react-native'; -import type {ZoomRange} from '@components/MultiGestureCanvas/types'; +import type ZoomRange from '@components/MultiGestureCanvas/types'; type ImageViewProps = { /** Whether source url requires authentication */ diff --git a/src/components/MultiGestureCanvas/types.ts b/src/components/MultiGestureCanvas/types.ts index 3c8480257700..0242f045feef 100644 --- a/src/components/MultiGestureCanvas/types.ts +++ b/src/components/MultiGestureCanvas/types.ts @@ -3,5 +3,4 @@ type ZoomRange = { max: number; }; -// eslint-disable-next-line import/prefer-default-export -export type {ZoomRange}; +export default ZoomRange;