Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[No QA] Fix linter error for type imports #34309

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading