Skip to content

Commit

Permalink
chore: upgrade to typescript 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Mar 15, 2024
1 parent e301189 commit 032edb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"nock": "^13.3.0",
"semantic-release": "^23.0.0",
"sinon": "^17.0.0",
"typescript": "~5.3.0",
"typescript": "~5.4.2",
"xo": "^0.58.0"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function attach(instance?: AxiosInstance) {
instance ||= axios;
return instance.interceptors.response.use(
onFulfilled,
async (error: AxiosError) => onError(instance!, error),
async (error: AxiosError) => onError(instance, error),
);
}

Expand Down

0 comments on commit 032edb9

Please sign in to comment.