Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
firebase の d.ts が typescript の 4系の記述があるので合わせて最新化
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxx2104 committed Aug 4, 2022
1 parent 988e7ea commit 2a2abb3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"ts-loader": "^9.3.0",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.2.2",
"typescript": "^4.7.4",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2",
"webpack-node-externals": "3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/services/token-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class TokenManager {

try {
return await this.refreshToken(freeeToken, userId)
} catch (error) {
} catch (error: any) {
if (error.output && error.output.statusCode === 401) {
console.log('Token is already refreshed in other instance:', error)

Expand Down

0 comments on commit 2a2abb3

Please sign in to comment.