Skip to content

Commit e7c9702

Browse files
committed
fix(ts): minor typings corrections
1 parent 9a84a6e commit e7c9702

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface IAPIOptions {
1414
};
1515

1616
export interface IAPIService {
17-
path: string;
17+
path?: string;
1818
expiration?: number;
1919
method?: 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE';
2020
domain?: string;
@@ -32,8 +32,8 @@ export interface IAPIServices {
3232
};
3333

3434
export interface IFetchOptions extends IAPIService {
35-
pathParameters?: { [key: string]: string };
36-
queryParameters?: { [key: string]: string };
35+
pathParameters?: { [key: string]: any };
36+
queryParameters?: { [key: string]: any };
3737
headers?: { [key: string]: string };
3838
fetchHeaders?: boolean;
3939
middlewares?: APIMiddleware[];

0 commit comments

Comments
 (0)