Skip to content

Commit

Permalink
Clean up TS declaration file imports
Browse files Browse the repository at this point in the history
Still remaining: The ones affected by #894.
  • Loading branch information
baltpeter committed May 28, 2022
1 parent adad945 commit e18c7e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Components/Generator/CompanySelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useGeneratorStore } from '../../store/generator';
import { SearchBarProps, SearchBar } from '../SearchBar';
import type { Except } from 'type-fest';
import { useNewRequestModal } from './NewRequestButton';
import { Company } from '../../types/company.d';
import type { Company } from '../../types/company';

type CompanySelectorProps = { newRequestHook: () => void } & Partial<Except<SearchBarProps, 'anchorize' | 'index'>>;

Expand Down
2 changes: 1 addition & 1 deletion src/Components/Generator/RecipientInput.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import t from '../../Utility/i18n';
import { Text, IntlProvider } from 'preact-i18n';
import { TransportMedium } from '../../types/request.d';
import type { TransportMedium } from '../../types/request';

type RecipientInputProps = {
recipientAddress?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/Components/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { rethrow } from '../Utility/errors';
import { FeatureDisabledWidget } from './FeatureDisabledWidget';
import type { MergeExclusive } from 'type-fest';
import type { SearchParams, SearchResponseHit } from 'typesense/lib/Typesense/Documents';
import { Company } from '../types/company.d';
import type { Company } from '../types/company';

export type SearchBarProps = {
id: string;
Expand Down
2 changes: 1 addition & 1 deletion src/Components/SvaFinder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useAppStore } from '../store/app';
import t from '../Utility/i18n';
import { fetchSvaDataBySlug } from '../Utility/companies';
import deepmerge from 'deepmerge';
import { SupervisoryAuthority } from '../types/company.d';
import type { SupervisoryAuthority } from '../types/company';

type SvaFinderProps = {
callback?: (sva?: SupervisoryAuthority) => void;
Expand Down

0 comments on commit e18c7e2

Please sign in to comment.