Skip to content

Commit

Permalink
Upgrade dependencies (opensearch-project#272)
Browse files Browse the repository at this point in the history
* Upgrading dependencies

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Fixing tests

Signed-off-by: Vacha Shah <vachshah@amazon.com>
  • Loading branch information
VachaShah authored and nhtruong committed Feb 27, 2023
1 parent dec5670 commit effbae2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/types/client.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ client.on('resurrect', (err, meta) => {
try {
expectType<ApiResponse>(await promise);
} catch (err) {
expectType<any>(err);
expectType<unknown>(err);
}
}

Expand All @@ -133,7 +133,7 @@ client.on('resurrect', (err, meta) => {
try {
expectType<ApiResponse>(await promise);
} catch (err) {
expectType<any>(err);
expectType<unknown>(err);
}
}

Expand All @@ -144,6 +144,6 @@ client.on('resurrect', (err, meta) => {
try {
expectType<ApiResponse>(await promise);
} catch (err) {
expectType<any>(err);
expectType<unknown>(err);
}
}

0 comments on commit effbae2

Please sign in to comment.