Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed Dec 4, 2023
1 parent bc61fee commit 2fcaa03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/http/HttpService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ enum RequestMethods {
* @internal
*/
export interface HttpService {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
post<K extends Record<string, any>>(
url: string,
queryParams: QueryParams,
Expand All @@ -32,6 +33,7 @@ export class HttpServiceImpl implements HttpService {
/**
* Performs a POST request.
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
async post<K extends Record<string, any>>(
url: string,
queryParams: QueryParams,
Expand Down
2 changes: 1 addition & 1 deletion src/infra/ChatCoreImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ export class ChatCoreImpl implements ChatCore {
return this.createMessageResponse(jsonResponse);
}

// eslint-disable-next-line @typescript-eslint/no-explicit-any
private createMessageResponse(data: any): MessageResponse {
//CLIP-303: type check data
return {
conversationId: data.response.conversationId,
message: data.response.message,
Expand Down

0 comments on commit 2fcaa03

Please sign in to comment.