Skip to content
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
4 changes: 2 additions & 2 deletions src/app/app.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HttpClient } from '@/client';
import { HttpClientConfig, HttpResponse, RequestConfig } from '@/types';
import { HttpClient } from '../client';
import { HttpClientConfig, HttpResponse, RequestConfig } from '../types';

const defaultHttpClient = new HttpClient();

Expand Down
4 changes: 2 additions & 2 deletions src/client/http-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
createHttpError,
createTimeoutSignal,
getFetch,
} from '@/helpers';
} from '../helpers';
import {
QueryParams,
HttpHeaders,
Expand All @@ -15,7 +15,7 @@ import {
RequestConfig,
HttpClientConfig,
Interceptors,
} from '@/types';
} from '../types';

export class HttpClient {
private config: HttpClientConfig;
Expand Down
4 changes: 2 additions & 2 deletions src/helpers/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HttpCode } from '@/constants';
import { HttpError, HttpHeaders, QueryParams } from '@/types';
import { HttpCode } from '../constants';
import { HttpError, HttpHeaders, QueryParams } from '../types';

export function buildURL(baseURL: string = '', endpoint: string, params?: QueryParams): string {
const cleanBaseURL = baseURL.replace(/\/$/, '');
Expand Down