Skip to content

Commit fb6151e

Browse files
authored
docs: fix type for error (#332)
1 parent 7d04a40 commit fb6151e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ If the original error is required, you can get it from the `cause` property of t
140140
try {
141141
const users = await this.client.userSearch.findUsers({ query: email });
142142
// ...
143-
} catch (error: uknown) {
143+
} catch (error: unknown) {
144144
if (error instanceof HttpException) {
145145
console.log(error.message);
146146
console.log(error.cause); // original error (AxiosError | Error)

0 commit comments

Comments
 (0)