Skip to content

Commit

Permalink
chores: type fixs
Browse files Browse the repository at this point in the history
  • Loading branch information
KannuSingh committed Sep 21, 2024
1 parent 9e14919 commit 0eb2d88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class CoSignerApiError extends Error {
export async function sendCoSignerRequest<
TRequest,
TResponse,
TQueryParams extends Record<string, string> = Record<string, never>
TQueryParams extends Record<string, string>
>({
url,
request,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('CoSigner API Tests', () => {

const response = await sendCoSignerRequest({
url: mockUrl,
data: mockAddPermissionRequest,
request: mockAddPermissionRequest,
headers: mockHeaders,
queryParams: { projectId }
})
Expand All @@ -70,7 +70,7 @@ describe('CoSigner API Tests', () => {
await expect(
sendCoSignerRequest({
url: mockUrl,
data: mockAddPermissionRequest,
request: mockAddPermissionRequest,
headers: mockHeaders,
queryParams: { projectId }
})
Expand All @@ -83,7 +83,7 @@ describe('CoSigner API Tests', () => {
await expect(
sendCoSignerRequest({
url: mockUrl,
data: mockAddPermissionRequest,
request: mockAddPermissionRequest,
headers: mockHeaders,
queryParams: { projectId }
})
Expand Down

0 comments on commit 0eb2d88

Please sign in to comment.