From beadc62c40c55ab28d315581c2c6c1bfde79aa47 Mon Sep 17 00:00:00 2001 From: Charlie Trent <127359753+trentcharlie@users.noreply.github.com> Date: Mon, 18 Mar 2024 19:02:01 +0800 Subject: [PATCH] fix: Include types in `index.ts` exports --- src/index.ts | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 7323884..2ad6345 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,14 +1,26 @@ import {Linking} from 'react-native'; import {generatePrefixes, generateTitles, icons} from './constants'; +import {GetAppsProps, GetAppsResponse, MapId, ShowLocationProps} from './type'; import { askAppChoice, - checkOptions, - getAvailableApps, checkNotSupportedApps, + checkOptions, generateMapUrl, + getAvailableApps, } from './utils'; -import {GetAppsProps, GetAppsResponse, MapId, ShowLocationProps} from './type'; + +export type { + DirectionMode, + GetAppsProps, + GetAppsResponse, + MapId, + MapLinkOptions, + PopupProps, + PopupStyleProp, + SharedOptions, + ShowLocationProps, +} from './type'; export const showLocation = async ({ latitude,