fix: bug in interface
This commit is contained in:
parent
23218b4304
commit
407b71716f
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "nestjs-postal-client",
|
"name": "nestjs-postal-client",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"description": "NestJS client for Postal",
|
"description": "NestJS client for Postal",
|
||||||
"author": "kakious",
|
"author": "kakious",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
|
|
|
@ -6,7 +6,7 @@ import type {
|
||||||
Type,
|
Type,
|
||||||
} from '@nestjs/common';
|
} from '@nestjs/common';
|
||||||
import type { AxiosRequestConfig } from 'axios';
|
import type { AxiosRequestConfig } from 'axios';
|
||||||
import { IAxiosRetryReturn } from 'axios-retry';
|
import { IAxiosRetryConfig } from 'axios-retry';
|
||||||
import { createAssert } from 'typia';
|
import { createAssert } from 'typia';
|
||||||
|
|
||||||
export interface PostalServiceOptions {
|
export interface PostalServiceOptions {
|
||||||
|
@ -17,7 +17,7 @@ export interface PostalServiceOptions {
|
||||||
export const assertPostalServiceOptions = createAssert<PostalServiceOptions>();
|
export const assertPostalServiceOptions = createAssert<PostalServiceOptions>();
|
||||||
|
|
||||||
export interface PostalModuleOptions {
|
export interface PostalModuleOptions {
|
||||||
http: Omit<AxiosRequestConfig, 'baseUrl'> & IAxiosRetryReturn;
|
http: Omit<AxiosRequestConfig, 'baseURL'> & IAxiosRetryConfig;
|
||||||
postal: PostalServiceOptions;
|
postal: PostalServiceOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue