fix: bug in interface

This commit is contained in:
Kakious 2024-07-15 12:56:12 -04:00
parent 23218b4304
commit 407b71716f
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "nestjs-postal-client",
"version": "0.0.1",
"version": "0.0.2",
"description": "NestJS client for Postal",
"author": "kakious",
"license": "UNLICENSED",

View file

@ -6,7 +6,7 @@ import type {
Type,
} from '@nestjs/common';
import type { AxiosRequestConfig } from 'axios';
import { IAxiosRetryReturn } from 'axios-retry';
import { IAxiosRetryConfig } from 'axios-retry';
import { createAssert } from 'typia';
export interface PostalServiceOptions {
@ -17,7 +17,7 @@ export interface PostalServiceOptions {
export const assertPostalServiceOptions = createAssert<PostalServiceOptions>();
export interface PostalModuleOptions {
http: Omit<AxiosRequestConfig, 'baseUrl'> & IAxiosRetryReturn;
http: Omit<AxiosRequestConfig, 'baseURL'> & IAxiosRetryConfig;
postal: PostalServiceOptions;
}