Skip to content

Commit

Permalink
Merge pull request Expensify#31266 from software-mansion-labs/ts-migr…
Browse files Browse the repository at this point in the history
…ation/fix-typecheck-main

[NoQA] Fix typecheck error on main
  • Loading branch information
mountiny authored Nov 13, 2023
2 parents 7bc47b7 + d5daa59 commit 04b5fa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/actions/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
import * as OnyxTypes from '@src/types/onyx';
import {SelectedTimezone} from '@src/types/onyx/PersonalDetails';
import type {OnyxData} from '@src/types/onyx/Request';
import * as Policy from './Policy';
import * as Session from './Session';
Expand Down Expand Up @@ -442,7 +443,7 @@ function openProfile(personalDetails: OnyxTypes.PersonalDetails) {
if (oldTimezoneData?.automatic ?? true) {
newTimezoneData = {
automatic: true,
selected: Intl.DateTimeFormat().resolvedOptions().timeZone,
selected: Intl.DateTimeFormat().resolvedOptions().timeZone as SelectedTimezone,
};
}

Expand Down

0 comments on commit 04b5fa4

Please sign in to comment.