Skip to content

Commit

Permalink
Merge pull request #34309 from Expensify/yuwen-lint
Browse files Browse the repository at this point in the history
[No QA] Fix linter error for type imports
  • Loading branch information
thienlnam authored Jan 11, 2024
2 parents 823c5e2 + 9ea48df commit 7e47bb3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions src/components/SignInButtons/AppleSignIn/index.website.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import React, {useEffect, useState} from 'react';
import Config, {NativeConfig} from 'react-native-config';
import type {NativeConfig} from 'react-native-config';
import Config from 'react-native-config';
import getUserLanguage from '@components/SignInButtons/GetUserLanguage';
import withNavigationFocus, {WithNavigationFocusProps} from '@components/withNavigationFocus';
import type {WithNavigationFocusProps} from '@components/withNavigationFocus';
import withNavigationFocus from '@components/withNavigationFocus';
import Log from '@libs/Log';
import * as Session from '@userActions/Session';
import CONFIG from '@src/CONFIG';
import CONST from '@src/CONST';
import {AppleIDSignInOnFailureEvent, AppleIDSignInOnSuccessEvent} from '@src/types/modules/dom';
import type {AppleIDSignInOnFailureEvent, AppleIDSignInOnSuccessEvent} from '@src/types/modules/dom';

// react-native-config doesn't trim whitespace on iOS for some reason so we
// add a trim() call to lodashGet here to prevent headaches.
Expand Down
2 changes: 1 addition & 1 deletion src/components/SignInButtons/GetUserLanguage.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ValueOf} from 'type-fest';
import type {ValueOf} from 'type-fest';

const localeCodes = {
en: 'en_US',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import useThemeStyles from '@hooks/useThemeStyles';
import * as Session from '@userActions/Session';
import CONFIG from '@src/CONFIG';
import CONST from '@src/CONST';
import Response from '@src/types/modules/google';
import type Response from '@src/types/modules/google';

type GoogleSignInProps = {
isDesktopFlow?: boolean;
Expand Down
6 changes: 3 additions & 3 deletions src/components/SignInButtons/IconButton.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react';
import {ValueOf} from 'type-fest';
import type {ValueOf} from 'type-fest';
import Icon from '@components/Icon';
import * as Expensicons from '@components/Icon/Expensicons';
import PressableWithoutFeedback from '@components/Pressable/PressableWithoutFeedback';
import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
import CONST from '@src/CONST';
import {TranslationPaths} from '@src/languages/types';
import IconAsset from '@src/types/utils/IconAsset';
import type {TranslationPaths} from '@src/languages/types';
import type IconAsset from '@src/types/utils/IconAsset';

const providerData = {
[CONST.SIGN_IN_METHOD.APPLE]: {
Expand Down

0 comments on commit 7e47bb3

Please sign in to comment.