Skip to content

Commit 7d26b50

Browse files
committed
fix ts
1 parent 3fb72ac commit 7d26b50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/ReportDetailsPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {StackActions} from '@react-navigation/native';
22
import {delegateEmailSelector} from '@selectors/Account';
33
import {validTransactionDraftIDsSelector} from '@selectors/TransactionDraft';
44
import React, {useCallback, useEffect, useMemo} from 'react';
5-
import type {StyleProp, TextStyle} from 'react-native';
5+
import type {StyleProp, ViewStyle} from 'react-native';
66
// eslint-disable-next-line no-restricted-imports
77
import {InteractionManager, View} from 'react-native';
88
import type {OnyxEntry} from 'react-native-onyx';
@@ -149,7 +149,7 @@ type ReportDetailsPageMenuItem = {
149149
brickRoadIndicator?: ValueOf<typeof CONST.BRICK_ROAD_INDICATOR_STATUS>;
150150
subtitle?: number;
151151
shouldShowRightIcon?: boolean;
152-
subtitleStyle?: StyleProp<TextStyle>;
152+
subtitleStyle?: StyleProp<ViewStyle>;
153153
};
154154

155155
type ReportDetailsPageProps = WithReportOrNotFoundProps & PlatformStackScreenProps<ReportDetailsNavigatorParamList, typeof SCREENS.REPORT_DETAILS.ROOT>;

0 commit comments

Comments
 (0)